File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public function isDirectory(): true
3737 /**
3838 * @return non-empty-string
3939 */
40- public function directory (): string
40+ public function path (): string
4141 {
4242 return $ this ->directory ;
4343 }
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public function isDirectoryRecursively(): true
3737 /**
3838 * @return non-empty-string
3939 */
40- public function directory (): string
40+ public function path (): string
4141 {
4242 return $ this ->directory ;
4343 }
Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ public function testCanBeDirectory(): void
212212 $ this ->assertFalse ($ target ->isNamespace ());
213213 $ this ->assertFalse ($ target ->isTrait ());
214214
215- $ this ->assertSame ($ directory , $ target ->directory ());
215+ $ this ->assertSame ($ directory , $ target ->path ());
216216 $ this ->assertSame ('directories ' , $ target ->key ());
217217 $ this ->assertSame ($ directory , $ target ->target ());
218218 $ this ->assertSame ('Directory ' . $ directory , $ target ->description ());
@@ -235,7 +235,7 @@ public function testCanBeDirectoryRecursively(): void
235235 $ this ->assertFalse ($ target ->isNamespace ());
236236 $ this ->assertFalse ($ target ->isTrait ());
237237
238- $ this ->assertSame ($ directory , $ target ->directory ());
238+ $ this ->assertSame ($ directory , $ target ->path ());
239239 $ this ->assertSame ('directoriesRecursively ' , $ target ->key ());
240240 $ this ->assertSame ($ directory , $ target ->target ());
241241 $ this ->assertSame ('Directory (recursively) ' . $ directory , $ target ->description ());
You can’t perform that action at this time.
0 commit comments