mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
fix merge induced errors
This commit is contained in:
parent
5b82082bbd
commit
e8c8161dd6
@ -751,7 +751,7 @@ class MagicMethodAnnotationTest extends TestCase
|
||||
(new Cache)->bar(new \DateTime(), new Cache());'
|
||||
],
|
||||
'magicMethodInheritance' => [
|
||||
'<?php
|
||||
'code' => '<?php
|
||||
/**
|
||||
* @method string foo()
|
||||
*/
|
||||
@ -775,7 +775,7 @@ class MagicMethodAnnotationTest extends TestCase
|
||||
consumeInt($b->bar());'
|
||||
],
|
||||
'magicMethodInheritanceOnInterface' => [
|
||||
'<?php
|
||||
'code' => '<?php
|
||||
/**
|
||||
* @method string foo()
|
||||
*/
|
||||
@ -787,7 +787,7 @@ class MagicMethodAnnotationTest extends TestCase
|
||||
consumeString($i->foo());'
|
||||
],
|
||||
'magicStaticMethodInheritance' => [
|
||||
'<?php
|
||||
'code' => '<?php
|
||||
/**
|
||||
* @method static string foo()
|
||||
*/
|
||||
@ -809,7 +809,7 @@ class MagicMethodAnnotationTest extends TestCase
|
||||
consumeInt(B::bar());'
|
||||
],
|
||||
'magicStaticMethodInheritanceWithoutCallStatic' => [
|
||||
'<?php
|
||||
'code' => '<?php
|
||||
/**
|
||||
* @method static int bar()
|
||||
*/
|
||||
|
@ -3581,7 +3581,7 @@ class ClassTemplateTest extends TestCase
|
||||
}'
|
||||
],
|
||||
'templateOnDocblockMethod' => [
|
||||
'<?php
|
||||
'code' => '<?php
|
||||
/**
|
||||
* @template T
|
||||
* @method T get()
|
||||
@ -3602,7 +3602,7 @@ class ClassTemplateTest extends TestCase
|
||||
'
|
||||
],
|
||||
'templateOnDocblockMethodOnInterface' => [
|
||||
'<?php
|
||||
'code' => '<?php
|
||||
/**
|
||||
* @template T
|
||||
* @method T get()
|
||||
@ -4380,7 +4380,7 @@ class ClassTemplateTest extends TestCase
|
||||
'error_message' => 'InvalidArgument',
|
||||
],
|
||||
'invalidTemplateArgumentOnDocblockMethod' => [
|
||||
'<?php
|
||||
'code' => '<?php
|
||||
/**
|
||||
* @template T
|
||||
* @method void set(T $value)
|
||||
|
Loading…
Reference in New Issue
Block a user