Searched refs:hasReturnType (Results 1 – 5 of 5) sorted by relevance
86 if ($method->hasReturnType()) {94 return $method->hasReturnType() && $method->getReturnType() !== 'void'
146 if (version_compare(PHP_VERSION, '7.0', '>=') && $method->hasReturnType()) {
112 public function hasReturnType() function in Prophecy\\Doubler\\Generator\\Node\\MethodNode
1006 if ($this->hasReturnType($method)) {1270 private function hasReturnType(ReflectionMethod $method) function in PHPUnit_Framework_MockObject_Generator1272 return method_exists(ReflectionMethod::class, 'hasReturnType') && $method->hasReturnType();1284 && $method->hasReturnType()
73 … if (version_compare(PHP_VERSION, '7.0', '>=') && true === $reflectedMethod->hasReturnType()) {