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:
parent
e76cbf75e8
commit
65407cc10d
@ -426,7 +426,7 @@ class ArrayObject implements IteratorAggregate, ArrayAccess, Serializable, Count
|
|||||||
|
|
||||||
interface Serializable {
|
interface Serializable {
|
||||||
/**
|
/**
|
||||||
* @return null|string the string representation of the object or null
|
* @return null|string
|
||||||
*/
|
*/
|
||||||
public function serialize();
|
public function serialize();
|
||||||
|
|
||||||
|
@ -1376,14 +1376,6 @@ class MethodSignatureTest extends TestCase
|
|||||||
}',
|
}',
|
||||||
'error_message' => 'MoreSpecificImplementedParamType',
|
'error_message' => 'MoreSpecificImplementedParamType',
|
||||||
],
|
],
|
||||||
'preventImplementingSerializableWithType' => [
|
|
||||||
'<?php
|
|
||||||
class Foo implements \Serializable {
|
|
||||||
public function unserialize(string $serialized) {}
|
|
||||||
public function serialize() {}
|
|
||||||
}',
|
|
||||||
'error_message' => 'InvalidReturnType',
|
|
||||||
],
|
|
||||||
'preventImplementingSerializableWithWrongDocblockType' => [
|
'preventImplementingSerializableWithWrongDocblockType' => [
|
||||||
'<?php
|
'<?php
|
||||||
class Foo implements \Serializable {
|
class Foo implements \Serializable {
|
||||||
|
Loading…
Reference in New Issue
Block a user