comparison vendor/symfony/finder/Tests/Iterator/Iterator.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
11 11
12 namespace Symfony\Component\Finder\Tests\Iterator; 12 namespace Symfony\Component\Finder\Tests\Iterator;
13 13
14 class Iterator implements \Iterator 14 class Iterator implements \Iterator
15 { 15 {
16 protected $values = array(); 16 protected $values = [];
17 17
18 public function __construct(array $values = array()) 18 public function __construct(array $values = [])
19 { 19 {
20 foreach ($values as $value) { 20 foreach ($values as $value) {
21 $this->attach(new \SplFileInfo($value)); 21 $this->attach(new \SplFileInfo($value));
22 } 22 }
23 $this->rewind(); 23 $this->rewind();