Skip to content

Commit d7438b5

Browse files
committed
Strict Standards of method declaration wasn't met
1 parent 70e9c14 commit d7438b5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/FQ/Tests/Collections/ChildDirCollectionTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace FQ\Tests\Collections;
44

55
use FQ\Collections\ChildDirCollection;
6+
use FQ\Dirs\Dir;
67

78
class ChildDirCollectionTest extends AbstractDirCollectionTests {
89

@@ -27,7 +28,7 @@ protected function _createNewDir() {
2728
return $this->_newActualChildDir();
2829
}
2930

30-
protected function _addDirToCollection($dir = null, $index = null) {
31+
protected function _addDirToCollection(Dir $dir = null, $index = null) {
3132
$dir = $dir === null ? $this->_createNewDir() : $dir;
3233
$collection = $this->dirCollection();
3334
return $collection->addChildDir($dir, $index);

tests/FQ/Tests/Collections/RootDirCollectionTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace FQ\Tests\Collections;
44

55
use FQ\Collections\RootDirCollection;
6+
use FQ\Dirs\Dir;
67

78
class RootDirCollectionTest extends AbstractDirCollectionTests {
89

@@ -27,7 +28,7 @@ protected function _createNewDir() {
2728
return $this->_newActualRootDir();
2829
}
2930

30-
protected function _addDirToCollection($dir = null, $index = null) {
31+
protected function _addDirToCollection(Dir $dir = null, $index = null) {
3132
$dir = $dir === null ? $this->_createNewDir() : $dir;
3233
$collection = $this->dirCollection();
3334
return $collection->addRootDir($dir, $index);

0 commit comments

Comments
 (0)