aboutsummaryrefslogtreecommitdiffstats
path: root/Source/FileSystem.php
diff options
context:
space:
mode:
Diffstat (limited to 'Source/FileSystem.php')
-rw-r--r--Source/FileSystem.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/FileSystem.php b/Source/FileSystem.php
index b029997..f0e9a62 100644
--- a/Source/FileSystem.php
+++ b/Source/FileSystem.php
@@ -1,5 +1,7 @@
<?php
+declare(strict_types=1);
+
/**
* Hoa
*
@@ -41,7 +43,6 @@ namespace Hoa\Iterator;
*
* Extending the SPL FileSystemIterator class.
*
- * @copyright Copyright © 2007-2017 Hoa community
* @license New BSD License
*/
class FileSystem extends \FilesystemIterator
@@ -64,7 +65,7 @@ class FileSystem extends \FilesystemIterator
* @param int $flags Flags.
* @param string $splFileInfoClass SplFileInfo classname.
*/
- public function __construct($path, $flags = null, $splFileInfoClass = null)
+ public function __construct(string $path, int $flags = null, string $splFileInfoClass = null)
{
$this->_splFileInfoClass = $splFileInfoClass;