diff --git a/src/Common/File.php b/src/Common/File.php index c75ca4c..4ad4bab 100644 --- a/src/Common/File.php +++ b/src/Common/File.php @@ -59,7 +59,7 @@ public function putContents($content) /** * Changes the file mode of the file. * - * @param int $mode + * @param integer $mode * @return boolean */ public function chmod(int $mode) diff --git a/src/Common/Tools.php b/src/Common/Tools.php index 09d5957..497e964 100644 --- a/src/Common/Tools.php +++ b/src/Common/Tools.php @@ -74,7 +74,7 @@ public static function ignite() preg_replace( '/\$autoload\[\'libraries\'\] = array\([^)]*\);/', '$autoload[\'libraries\'] = array('.implode(', ', $libraries).');', - $autoload + $autoload->getContents() ) );