Mercurial > hg > isophonics-drupal-site
diff vendor/symfony/serializer/Annotation/MaxDepth.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 |
line wrap: on
line diff
--- a/vendor/symfony/serializer/Annotation/MaxDepth.php Tue Jul 10 15:07:59 2018 +0100 +++ b/vendor/symfony/serializer/Annotation/MaxDepth.php Thu Feb 28 13:21:36 2019 +0000 @@ -31,11 +31,11 @@ public function __construct(array $data) { if (!isset($data['value'])) { - throw new InvalidArgumentException(sprintf('Parameter of annotation "%s" should be set.', get_class($this))); + throw new InvalidArgumentException(sprintf('Parameter of annotation "%s" should be set.', \get_class($this))); } - if (!is_int($data['value']) || $data['value'] <= 0) { - throw new InvalidArgumentException(sprintf('Parameter of annotation "%s" must be a positive integer.', get_class($this))); + if (!\is_int($data['value']) || $data['value'] <= 0) { + throw new InvalidArgumentException(sprintf('Parameter of annotation "%s" must be a positive integer.', \get_class($this))); } $this->maxDepth = $data['value'];