X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fsymfony%2Frouting%2FRoute.php;fp=vendor%2Fsymfony%2Frouting%2FRoute.php;h=46e3e5502b95c08643ffeecf724de85f88e79ed0;hp=cd50ac8276f60014dffd747bcfc1d0919bdf448b;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/vendor/symfony/routing/Route.php b/vendor/symfony/routing/Route.php index cd50ac827..46e3e5502 100644 --- a/vendor/symfony/routing/Route.php +++ b/vendor/symfony/routing/Route.php @@ -29,7 +29,7 @@ class Route implements \Serializable private $condition = ''; /** - * @var null|CompiledRoute + * @var CompiledRoute|null */ private $compiled; @@ -196,7 +196,7 @@ class Route implements \Serializable */ public function hasScheme($scheme) { - return in_array(strtolower($scheme), $this->schemes, true); + return \in_array(strtolower($scheme), $this->schemes, true); } /** @@ -537,7 +537,7 @@ class Route implements \Serializable private function sanitizeRequirement($key, $regex) { - if (!is_string($regex)) { + if (!\is_string($regex)) { throw new \InvalidArgumentException(sprintf('Routing requirement for "%s" must be a string.', $key)); }