This repository was archived by the owner on Jul 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -303,7 +303,8 @@ public function accept()
303303 * @link http://php.net/manual/en/recursivefilteriterator.haschildren.php
304304 * @return bool true if the inner iterator has children, otherwise false
305305 */
306- public function hasChildren () {
306+ public function hasChildren ()
307+ {
307308 return $ this ->iterator ->hasChildren ();
308309 }
309310
@@ -314,15 +315,17 @@ public function hasChildren() {
314315 * @link http://php.net/manual/en/recursivefilteriterator.getchildren.php
315316 * @return \RecursiveFilterIterator containing the inner iterator's children.
316317 */
317- public function getChildren () {
318+ public function getChildren ()
319+ {
318320 return new self ($ this ->iterator ->getChildren (), array ());
319321 }
320322
321323 /**
322324 * @param string $excluded
323325 * @return string
324326 */
325- private function getPathname ($ excluded ) {
327+ private function getPathname ($ excluded )
328+ {
326329 if (DIRECTORY_SEPARATOR !== $ excluded [0 ]) {
327330 $ excluded = $ this ->iterator ->getPath () . DIRECTORY_SEPARATOR . $ excluded ;
328331 }
You can’t perform that action at this time.
0 commit comments