Skip to content

Commit 40d17ed

Browse files
committed
Merge branch '3.0'
* 3.0: Fix computation of PR diffs for component matrix lines [console][table] adjust width of colspanned cell. [BUG] Delete class 'control-group' in bootstrap 3 [2.8] [Form] Modified iterator_to_array's 2nd parameter to false in ViolationMapper added missing constant in Response Update HTTP statuses list [Console][#18619] Prevent fatal error when calling Command#getHelper() without helperSet added StaticVerionStrategyTest Add SplFileInfo array doc on Finder iterator methods so that IDE will know what it returns [2.3] [Form] Modified iterator_to_array's 2nd parameter to false in ViolationMapper Updated the link to the list of currency codes Fixed DateTimeInterface comparaison [console][table] adjust width of colspanned cell.
2 parents c3e7b8a + 39e5f3d commit 40d17ed

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

Finder.php

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static function create()
8282
/**
8383
* Restricts the matching to directories only.
8484
*
85-
* @return Finder The current Finder instance
85+
* @return Finder|SplFileInfo[] The current Finder instance
8686
*/
8787
public function directories()
8888
{
@@ -94,7 +94,7 @@ public function directories()
9494
/**
9595
* Restricts the matching to files only.
9696
*
97-
* @return Finder The current Finder instance
97+
* @return Finder|SplFileInfo[] The current Finder instance
9898
*/
9999
public function files()
100100
{
@@ -113,7 +113,7 @@ public function files()
113113
*
114114
* @param int $level The depth level expression
115115
*
116-
* @return Finder The current Finder instance
116+
* @return Finder|SplFileInfo[] The current Finder instance
117117
*
118118
* @see DepthRangeFilterIterator
119119
* @see NumberComparator
@@ -137,7 +137,7 @@ public function depth($level)
137137
*
138138
* @param string $date A date range string
139139
*
140-
* @return Finder The current Finder instance
140+
* @return Finder|SplFileInfo[] The current Finder instance
141141
*
142142
* @see strtotime
143143
* @see DateRangeFilterIterator
@@ -161,7 +161,7 @@ public function date($date)
161161
*
162162
* @param string $pattern A pattern (a regexp, a glob, or a string)
163163
*
164-
* @return Finder The current Finder instance
164+
* @return Finder|SplFileInfo[] The current Finder instance
165165
*
166166
* @see FilenameFilterIterator
167167
*/
@@ -177,7 +177,7 @@ public function name($pattern)
177177
*
178178
* @param string $pattern A pattern (a regexp, a glob, or a string)
179179
*
180-
* @return Finder The current Finder instance
180+
* @return Finder|SplFileInfo[] The current Finder instance
181181
*
182182
* @see FilenameFilterIterator
183183
*/
@@ -198,7 +198,7 @@ public function notName($pattern)
198198
*
199199
* @param string $pattern A pattern (string or regexp)
200200
*
201-
* @return Finder The current Finder instance
201+
* @return Finder|SplFileInfo[] The current Finder instance
202202
*
203203
* @see FilecontentFilterIterator
204204
*/
@@ -219,7 +219,7 @@ public function contains($pattern)
219219
*
220220
* @param string $pattern A pattern (string or regexp)
221221
*
222-
* @return Finder The current Finder instance
222+
* @return Finder|SplFileInfo[] The current Finder instance
223223
*
224224
* @see FilecontentFilterIterator
225225
*/
@@ -242,7 +242,7 @@ public function notContains($pattern)
242242
*
243243
* @param string $pattern A pattern (a regexp or a string)
244244
*
245-
* @return Finder The current Finder instance
245+
* @return Finder|SplFileInfo[] The current Finder instance
246246
*
247247
* @see FilenameFilterIterator
248248
*/
@@ -265,7 +265,7 @@ public function path($pattern)
265265
*
266266
* @param string $pattern A pattern (a regexp or a string)
267267
*
268-
* @return Finder The current Finder instance
268+
* @return Finder|SplFileInfo[] The current Finder instance
269269
*
270270
* @see FilenameFilterIterator
271271
*/
@@ -285,7 +285,7 @@ public function notPath($pattern)
285285
*
286286
* @param string $size A size range string
287287
*
288-
* @return Finder The current Finder instance
288+
* @return Finder|SplFileInfo[] The current Finder instance
289289
*
290290
* @see SizeRangeFilterIterator
291291
* @see NumberComparator
@@ -302,7 +302,7 @@ public function size($size)
302302
*
303303
* @param string|array $dirs A directory path or an array of directories
304304
*
305-
* @return Finder The current Finder instance
305+
* @return Finder|SplFileInfo[] The current Finder instance
306306
*
307307
* @see ExcludeDirectoryFilterIterator
308308
*/
@@ -318,7 +318,7 @@ public function exclude($dirs)
318318
*
319319
* @param bool $ignoreDotFiles Whether to exclude "hidden" files or not
320320
*
321-
* @return Finder The current Finder instance
321+
* @return Finder|SplFileInfo[] The current Finder instance
322322
*
323323
* @see ExcludeDirectoryFilterIterator
324324
*/
@@ -338,7 +338,7 @@ public function ignoreDotFiles($ignoreDotFiles)
338338
*
339339
* @param bool $ignoreVCS Whether to exclude VCS files or not
340340
*
341-
* @return Finder The current Finder instance
341+
* @return Finder|SplFileInfo[] The current Finder instance
342342
*
343343
* @see ExcludeDirectoryFilterIterator
344344
*/
@@ -378,7 +378,7 @@ public static function addVCSPattern($pattern)
378378
*
379379
* @param \Closure $closure An anonymous function
380380
*
381-
* @return Finder The current Finder instance
381+
* @return Finder|SplFileInfo[] The current Finder instance
382382
*
383383
* @see SortableIterator
384384
*/
@@ -394,7 +394,7 @@ public function sort(\Closure $closure)
394394
*
395395
* This can be slow as all the matching files and directories must be retrieved for comparison.
396396
*
397-
* @return Finder The current Finder instance
397+
* @return Finder|SplFileInfo[] The current Finder instance
398398
*
399399
* @see SortableIterator
400400
*/
@@ -410,7 +410,7 @@ public function sortByName()
410410
*
411411
* This can be slow as all the matching files and directories must be retrieved for comparison.
412412
*
413-
* @return Finder The current Finder instance
413+
* @return Finder|SplFileInfo[] The current Finder instance
414414
*
415415
* @see SortableIterator
416416
*/
@@ -428,7 +428,7 @@ public function sortByType()
428428
*
429429
* This can be slow as all the matching files and directories must be retrieved for comparison.
430430
*
431-
* @return Finder The current Finder instance
431+
* @return Finder|SplFileInfo[] The current Finder instance
432432
*
433433
* @see SortableIterator
434434
*/
@@ -448,7 +448,7 @@ public function sortByAccessedTime()
448448
*
449449
* This can be slow as all the matching files and directories must be retrieved for comparison.
450450
*
451-
* @return Finder The current Finder instance
451+
* @return Finder|SplFileInfo[] The current Finder instance
452452
*
453453
* @see SortableIterator
454454
*/
@@ -466,7 +466,7 @@ public function sortByChangedTime()
466466
*
467467
* This can be slow as all the matching files and directories must be retrieved for comparison.
468468
*
469-
* @return Finder The current Finder instance
469+
* @return Finder|SplFileInfo[] The current Finder instance
470470
*
471471
* @see SortableIterator
472472
*/
@@ -485,7 +485,7 @@ public function sortByModifiedTime()
485485
*
486486
* @param \Closure $closure An anonymous function
487487
*
488-
* @return Finder The current Finder instance
488+
* @return Finder|SplFileInfo[] The current Finder instance
489489
*
490490
* @see CustomFilterIterator
491491
*/
@@ -499,7 +499,7 @@ public function filter(\Closure $closure)
499499
/**
500500
* Forces the following of symlinks.
501501
*
502-
* @return Finder The current Finder instance
502+
* @return Finder|SplFileInfo[] The current Finder instance
503503
*/
504504
public function followLinks()
505505
{
@@ -515,7 +515,7 @@ public function followLinks()
515515
*
516516
* @param bool $ignore
517517
*
518-
* @return Finder The current Finder instance
518+
* @return Finder|SplFileInfo[] The current Finder instance
519519
*/
520520
public function ignoreUnreadableDirs($ignore = true)
521521
{
@@ -529,7 +529,7 @@ public function ignoreUnreadableDirs($ignore = true)
529529
*
530530
* @param string|array $dirs A directory path or an array of directories
531531
*
532-
* @return Finder The current Finder instance
532+
* @return Finder|SplFileInfo[] The current Finder instance
533533
*
534534
* @throws \InvalidArgumentException if one of the directories does not exist
535535
*/
@@ -590,7 +590,7 @@ public function getIterator()
590590
*
591591
* @param mixed $iterator
592592
*
593-
* @return Finder The finder
593+
* @return Finder|SplFileInfo[] The finder
594594
*
595595
* @throws \InvalidArgumentException When the given argument is not iterable.
596596
*/

0 commit comments

Comments
 (0)