]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/file_directory/class_PathReadProtectedException.php
Continued:
[core.git] / framework / main / exceptions / file_directory / class_PathReadProtectedException.php
index 4437e736241dfee76727d5e491dcdcb933fad009..3f9a1e428d372b38c3ac9f747c4316df50dafa2e 100644 (file)
@@ -36,7 +36,7 @@ class PathReadProtectedException extends FrameworkException {
         * @param       $code           Code number for the exception
         * @return      void
         */
-       public function __construct ($path, $code) {
+       public function __construct (string $path, int $code) {
                // Add a message around the missing class
                $message = sprintf('The path %s appears to be read-protected. Please fix your CHMOD rights.', $path);