@@ -630,15 +630,15 @@ class PharCommand extends CLICommand
630
630
* This function will take a directory and iterate through
631
631
* it and get the files to insert into the Phar archive.
632
632
*
633
- * @param Phar $phar The phar object.
634
- * @param string $input The input directory
635
- * @param string $regex The regex used in RegexIterator.
636
- * @param string $invregex The InvertedRegexIterator expression.
637
- * @param SplFileInfo $stub Stub file object
638
- * @param mixed $compress Compression algorithm or NULL
639
- * @param boolean $noloader Whether to prevent adding the loader
640
- */
641
- static function phar_add (Phar $ phar , $ level , $ input , $ regex , $ invregex , SplFileInfo $ stub = NULL , $ compress = NULL , $ noloader = false )
633
+ * @param Phar $phar The phar object.
634
+ * @param string $input The input directory
635
+ * @param string $regex The regex used in RegexIterator.
636
+ * @param string $invregex The InvertedRegexIterator expression.
637
+ * @param ? SplFileInfo $stub Stub file object
638
+ * @param mixed $compress Compression algorithm or NULL
639
+ * @param boolean $noloader Whether to prevent adding the loader
640
+ */
641
+ static function phar_add (Phar $ phar , $ level , $ input , $ regex , $ invregex , ? SplFileInfo $ stub , $ compress = NULL , $ noloader = false )
642
642
{
643
643
if ($ input && is_file ($ input ) && !is_dir ($ input )) {
644
644
return self ::phar_add_file ($ phar , $ level , $ input , $ input , $ compress );
0 commit comments