@@ -303,7 +303,7 @@ class phpCAS
303
303
304
304
/**
305
305
* This variable is used to enable verbose mode
306
- * This pevents debug info to be show to the user. Since it's a security
306
+ * This prevents debug info to be show to the user. Since it's a security
307
307
* feature the default is false
308
308
*
309
309
* @hideinitializer
@@ -409,7 +409,7 @@ public static function proxy($server_version, $server_hostname,
409
409
phpCAS :: error (self ::$ _PHPCAS_INIT_CALL ['method ' ] . '() has already been called (at ' . self ::$ _PHPCAS_INIT_CALL ['file ' ] . ': ' . self ::$ _PHPCAS_INIT_CALL ['line ' ] . ') ' );
410
410
}
411
411
412
- // store where the initialzer is called from
412
+ // store where the initializer is called from
413
413
$ dbg = debug_backtrace ();
414
414
self ::$ _PHPCAS_INIT_CALL = array (
415
415
'done ' => true ,
@@ -560,15 +560,15 @@ public static function log($str)
560
560
561
561
$ indent_str .= '| ' ;
562
562
}
563
- // allow for multiline output with proper identing. Usefull for
563
+ // allow for multiline output with proper identing. Useful for
564
564
// dumping cas answers etc.
565
565
$ str2 = str_replace ("\n" , "\n" . self ::$ _PHPCAS_DEBUG ['unique_id ' ] . ' ' . $ indent_str , $ str );
566
566
$ str3 = self ::$ _PHPCAS_DEBUG ['unique_id ' ] . ' ' . $ indent_str . $ str2 ;
567
567
if (isset (self ::$ _PHPCAS_DEBUG ['logger ' ])) {
568
568
self ::$ _PHPCAS_DEBUG ['logger ' ]->info ($ str3 );
569
569
}
570
570
if (!empty (self ::$ _PHPCAS_DEBUG ['filename ' ])) {
571
- // Check if file exists and modifiy file permissions to be only
571
+ // Check if file exists and modify file permissions to be only
572
572
// readable by the webserver
573
573
if (!file_exists (self ::$ _PHPCAS_DEBUG ['filename ' ])) {
574
574
touch (self ::$ _PHPCAS_DEBUG ['filename ' ]);
@@ -1769,7 +1769,7 @@ public static function setSessionIdSalt($salt) {
1769
1769
1770
1770
/**
1771
1771
* If you want your service to be proxied you have to enable it (default
1772
- * disabled) and define an accepable list of proxies that are allowed to
1772
+ * disabled) and define an acceptable list of proxies that are allowed to
1773
1773
* proxy your service.
1774
1774
*
1775
1775
* Add each allowed proxy definition object. For the normal CAS_ProxyChain
@@ -1790,7 +1790,7 @@ public static function setSessionIdSalt($salt) {
1790
1790
* 'http://client.example.com/'
1791
1791
* )));
1792
1792
*
1793
- * For quick testing or in certain production screnarios you might want to
1793
+ * For quick testing or in certain production scenarios you might want to
1794
1794
* allow allow any other valid service to proxy your service. To do so, add
1795
1795
* the "Any" chain:
1796
1796
* phpCAS::allowProxyChain(new CAS_ProxyChain_Any);
@@ -1897,7 +1897,7 @@ private static function _validateClientExists()
1897
1897
}
1898
1898
1899
1899
/**
1900
- * Checks of a proxy client aready exists
1900
+ * Checks of a proxy client already exists
1901
1901
*
1902
1902
* @throws CAS_OutOfSequenceBeforeProxyException
1903
1903
*
0 commit comments