1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Got rid of test

This commit is contained in:
Aleksandr Zhuravlev 2021-09-16 23:07:32 +12:00
parent e76cbf75e8
commit 65407cc10d
2 changed files with 1 additions and 9 deletions

View File

@ -426,7 +426,7 @@ class ArrayObject implements IteratorAggregate, ArrayAccess, Serializable, Count
interface Serializable {
/**
* @return null|string the string representation of the object or null
* @return null|string
*/
public function serialize();

View File

@ -1376,14 +1376,6 @@ class MethodSignatureTest extends TestCase
}',
'error_message' => 'MoreSpecificImplementedParamType',
],
'preventImplementingSerializableWithType' => [
'<?php
class Foo implements \Serializable {
public function unserialize(string $serialized) {}
public function serialize() {}
}',
'error_message' => 'InvalidReturnType',
],
'preventImplementingSerializableWithWrongDocblockType' => [
'<?php
class Foo implements \Serializable {