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 33namespace FQ \Tests \Collections ;
44
55use FQ \Collections \ChildDirCollection ;
6+ use FQ \Dirs \Dir ;
67
78class 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 );
Original file line number Diff line number Diff line change 33namespace FQ \Tests \Collections ;
44
55use FQ \Collections \RootDirCollection ;
6+ use FQ \Dirs \Dir ;
67
78class 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 );
You can’t perform that action at this time.
0 commit comments