doc blocks adjusted

This commit is contained in:
Val Bancer 2016-11-08 11:35:01 +01:00
parent 7ffa7acea6
commit 38518c201c

View file

@ -333,7 +333,7 @@ class ShellDispatcher {
* Checks whether the given path is absolute or relative. * Checks whether the given path is absolute or relative.
* *
* @param string $path absolute or relative path. * @param string $path absolute or relative path.
* @return boolean * @return bool
*/ */
protected function _isAbsolutePath($path) { protected function _isAbsolutePath($path) {
return $path[0] === '/' || $this->_isWindowsPath($path); return $path[0] === '/' || $this->_isWindowsPath($path);
@ -343,7 +343,7 @@ class ShellDispatcher {
* Checks whether the given path is Window OS path. * Checks whether the given path is Window OS path.
* *
* @param string $path absolute path. * @param string $path absolute path.
* @return boolean * @return bool
*/ */
protected function _isWindowsPath($path) { protected function _isWindowsPath($path) {
return preg_match('/([a-z])(:)/i', $path) == 1; return preg_match('/([a-z])(:)/i', $path) == 1;