File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
tests/FQ/Tests/Collections Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 3
3
namespace FQ \Tests \Collections ;
4
4
5
5
use FQ \Collections \ChildDirCollection ;
6
+ use FQ \Dirs \Dir ;
6
7
7
8
class ChildDirCollectionTest extends AbstractDirCollectionTests {
8
9
@@ -27,7 +28,7 @@ protected function _createNewDir() {
27
28
return $ this ->_newActualChildDir ();
28
29
}
29
30
30
- protected function _addDirToCollection ($ dir = null , $ index = null ) {
31
+ protected function _addDirToCollection (Dir $ dir = null , $ index = null ) {
31
32
$ dir = $ dir === null ? $ this ->_createNewDir () : $ dir ;
32
33
$ collection = $ this ->dirCollection ();
33
34
return $ collection ->addChildDir ($ dir , $ index );
Original file line number Diff line number Diff line change 3
3
namespace FQ \Tests \Collections ;
4
4
5
5
use FQ \Collections \RootDirCollection ;
6
+ use FQ \Dirs \Dir ;
6
7
7
8
class RootDirCollectionTest extends AbstractDirCollectionTests {
8
9
@@ -27,7 +28,7 @@ protected function _createNewDir() {
27
28
return $ this ->_newActualRootDir ();
28
29
}
29
30
30
- protected function _addDirToCollection ($ dir = null , $ index = null ) {
31
+ protected function _addDirToCollection (Dir $ dir = null , $ index = null ) {
31
32
$ dir = $ dir === null ? $ this ->_createNewDir () : $ dir ;
32
33
$ collection = $ this ->dirCollection ();
33
34
return $ collection ->addRootDir ($ dir , $ index );
You can’t perform that action at this time.
0 commit comments