mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
doc blocks adjusted
This commit is contained in:
parent
7ffa7acea6
commit
38518c201c
1 changed files with 2 additions and 2 deletions
|
@ -333,7 +333,7 @@ class ShellDispatcher {
|
|||
* Checks whether the given path is absolute or relative.
|
||||
*
|
||||
* @param string $path absolute or relative path.
|
||||
* @return boolean
|
||||
* @return bool
|
||||
*/
|
||||
protected function _isAbsolutePath($path) {
|
||||
return $path[0] === '/' || $this->_isWindowsPath($path);
|
||||
|
@ -343,7 +343,7 @@ class ShellDispatcher {
|
|||
* Checks whether the given path is Window OS path.
|
||||
*
|
||||
* @param string $path absolute path.
|
||||
* @return boolean
|
||||
* @return bool
|
||||
*/
|
||||
protected function _isWindowsPath($path) {
|
||||
return preg_match('/([a-z])(:)/i', $path) == 1;
|
||||
|
|
Loading…
Reference in a new issue