Skip to content

Commit 01301fa

Browse files
authored
spelling corrections for CAS.php (#436)
spelling corrections
1 parent 17a0c4d commit 01301fa

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Diff for: source/CAS.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ class phpCAS
303303

304304
/**
305305
* 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
307307
* feature the default is false
308308
*
309309
* @hideinitializer
@@ -409,7 +409,7 @@ public static function proxy($server_version, $server_hostname,
409409
phpCAS :: error(self::$_PHPCAS_INIT_CALL['method'] . '() has already been called (at ' . self::$_PHPCAS_INIT_CALL['file'] . ':' . self::$_PHPCAS_INIT_CALL['line'] . ')');
410410
}
411411

412-
// store where the initialzer is called from
412+
// store where the initializer is called from
413413
$dbg = debug_backtrace();
414414
self::$_PHPCAS_INIT_CALL = array (
415415
'done' => true,
@@ -560,15 +560,15 @@ public static function log($str)
560560

561561
$indent_str .= '| ';
562562
}
563-
// allow for multiline output with proper identing. Usefull for
563+
// allow for multiline output with proper identing. Useful for
564564
// dumping cas answers etc.
565565
$str2 = str_replace("\n", "\n" . self::$_PHPCAS_DEBUG['unique_id'] . ' ' . $indent_str, $str);
566566
$str3 = self::$_PHPCAS_DEBUG['unique_id'] . ' ' . $indent_str . $str2;
567567
if (isset(self::$_PHPCAS_DEBUG['logger'])) {
568568
self::$_PHPCAS_DEBUG['logger']->info($str3);
569569
}
570570
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
572572
// readable by the webserver
573573
if (!file_exists(self::$_PHPCAS_DEBUG['filename'])) {
574574
touch(self::$_PHPCAS_DEBUG['filename']);
@@ -1769,7 +1769,7 @@ public static function setSessionIdSalt($salt) {
17691769

17701770
/**
17711771
* 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
17731773
* proxy your service.
17741774
*
17751775
* Add each allowed proxy definition object. For the normal CAS_ProxyChain
@@ -1790,7 +1790,7 @@ public static function setSessionIdSalt($salt) {
17901790
* 'http://client.example.com/'
17911791
* )));
17921792
*
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
17941794
* allow allow any other valid service to proxy your service. To do so, add
17951795
* the "Any" chain:
17961796
* phpCAS::allowProxyChain(new CAS_ProxyChain_Any);
@@ -1897,7 +1897,7 @@ private static function _validateClientExists()
18971897
}
18981898

18991899
/**
1900-
* Checks of a proxy client aready exists
1900+
* Checks of a proxy client already exists
19011901
*
19021902
* @throws CAS_OutOfSequenceBeforeProxyException
19031903
*

0 commit comments

Comments
 (0)