X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=vendor%2Fsymfony%2Fdependency-injection%2FCompiler%2FPassConfig.php;h=31104fb1fe82069dc011a8c03d1c62ed24bd80d5;hb=4e1bfbf98b844da83b18aca92ef00f11a4735806;hp=d1a308328a26007685f09fb6ad2f110d4e3aaeee;hpb=af6d1fb995500ae68849458ee10d66abbdcfb252;p=yaffs-website diff --git a/vendor/symfony/dependency-injection/Compiler/PassConfig.php b/vendor/symfony/dependency-injection/Compiler/PassConfig.php index d1a308328..31104fb1f 100644 --- a/vendor/symfony/dependency-injection/Compiler/PassConfig.php +++ b/vendor/symfony/dependency-injection/Compiler/PassConfig.php @@ -121,10 +121,10 @@ class PassConfig */ public function addPass(CompilerPassInterface $pass, $type = self::TYPE_BEFORE_OPTIMIZATION/*, int $priority = 0*/) { - if (func_num_args() >= 3) { + if (\func_num_args() >= 3) { $priority = func_get_arg(2); } else { - if (__CLASS__ !== get_class($this)) { + if (__CLASS__ !== \get_class($this)) { $r = new \ReflectionMethod($this, __FUNCTION__); if (__CLASS__ !== $r->getDeclaringClass()->getName()) { @trigger_error(sprintf('Method %s() will have a third `int $priority = 0` argument in version 4.0. Not defining it is deprecated since Symfony 3.2.', __METHOD__), E_USER_DEPRECATED); @@ -271,13 +271,13 @@ class PassConfig */ private function sortPasses(array $passes) { - if (0 === count($passes)) { + if (0 === \count($passes)) { return array(); } krsort($passes); // Flatten the array - return call_user_func_array('array_merge', $passes); + return \call_user_func_array('array_merge', $passes); } }