Skip to content
Browse files

CS Fixes - Replaced "array of type" by "Type[]" in PHPDoc block

  • Loading branch information...
1 parent 2610ebb commit b97312ffadf5b172c9798114f440877cc4a6d68a @raziel057 raziel057 committed with fabpot Nov 1, 2012
Showing with 8 additions and 4 deletions.
  1. +4 −2 Iterator/DateRangeFilterIterator.php
  2. +4 −2 Iterator/SizeRangeFilterIterator.php
View
6 Iterator/DateRangeFilterIterator.php
@@ -11,6 +11,8 @@
namespace Symfony\Component\Finder\Iterator;
+use Symfony\Component\Finder\Comparator\DateComparator;
+
/**
* DateRangeFilterIterator filters out files that are not in the given date range (last modified dates).
*
@@ -23,8 +25,8 @@ class DateRangeFilterIterator extends FilterIterator
/**
* Constructor.
*
- * @param \Iterator $iterator The Iterator to filter
- * @param array $comparators An array of \DateCompare instances
+ * @param \Iterator $iterator The Iterator to filter
+ * @param DateComparator[] $comparators An array of DateComparator instances
*/
public function __construct(\Iterator $iterator, array $comparators)
{
View
6 Iterator/SizeRangeFilterIterator.php
@@ -11,6 +11,8 @@
namespace Symfony\Component\Finder\Iterator;
+use Symfony\Component\Finder\Comparator\NumberComparator;
+
/**
* SizeRangeFilterIterator filters out files that are not in the given size range.
*
@@ -23,8 +25,8 @@ class SizeRangeFilterIterator extends FilterIterator
/**
* Constructor.
*
- * @param \Iterator $iterator The Iterator to filter
- * @param array $comparators An array of \NumberComparator instances
+ * @param \Iterator $iterator The Iterator to filter
+ * @param NumberComparator[] $comparators An array of NumberComparator instances
*/
public function __construct(\Iterator $iterator, array $comparators)
{

0 comments on commit b97312f

Please sign in to comment.
Something went wrong with that request. Please try again.