]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/database/local_file/class_SavePathWriteProtectedException.php
Continued:
[core.git] / framework / main / exceptions / database / local_file / class_SavePathWriteProtectedException.php
index bcdef61dc2e11f2666749d7d50d40f165aceacf9..994dba5ec5411777613146de75b7df069a69a0f3 100644 (file)
@@ -36,7 +36,7 @@ class SavePathWriteProtectedException extends DatabaseException {
         * @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('Save path %s is write-protected. Please fix your file permissions.', $path);