Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/dependency-injection/Argument/RewindableGenerator.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 1fec387a4317 |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
36 return $g(); | 36 return $g(); |
37 } | 37 } |
38 | 38 |
39 public function count() | 39 public function count() |
40 { | 40 { |
41 if (is_callable($count = $this->count)) { | 41 if (\is_callable($count = $this->count)) { |
42 $this->count = $count(); | 42 $this->count = $count(); |
43 } | 43 } |
44 | 44 |
45 return $this->count; | 45 return $this->count; |
46 } | 46 } |