diff --git a/tests/ProxyManagerTest/Functional/RemoteObjectFunctionalTest.php b/tests/ProxyManagerTest/Functional/RemoteObjectFunctionalTest.php index 96e24c8db..4c2c4af95 100644 --- a/tests/ProxyManagerTest/Functional/RemoteObjectFunctionalTest.php +++ b/tests/ProxyManagerTest/Functional/RemoteObjectFunctionalTest.php @@ -173,7 +173,7 @@ public function getProxyMethods() { $selfHintParam = new ClassWithSelfHint(); - $data = [ + return [ [ 'ProxyManagerTestAsset\RemoteProxy\FooServiceInterface', 'foo', @@ -198,19 +198,13 @@ public function getProxyMethods() ['baz'], 'baz remote' ], - ]; - - if (PHP_VERSION_ID >= 50401) { - // PHP < 5.4.1 misbehaves, throwing strict standards, see https://bugs.php.net/bug.php?id=60573 - $data[] = [ + [ new ClassWithSelfHint(), 'selfHintMethod', [$selfHintParam], $selfHintParam - ]; - } - - return $data; + ], + ]; } /**