We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b63bdca commit 4751668Copy full SHA for 4751668
2 files changed
tests/Fixtures/Discriminator/ImagePost.php
@@ -1,7 +1,5 @@
1
<?php
2
3
-declare(strict_types=1);
4
-
5
namespace JMS\Serializer\Tests\Fixtures\Discriminator;
6
7
class ImagePost extends Post
tests/Fixtures/Discriminator/Post.php
use JMS\Serializer\Annotation as Serializer;
@@ -17,7 +15,7 @@ class Post
17
15
/** @Serializer\Type("string") */
18
16
public $title;
19
20
- public function __construct(string $title)
+ public function __construct($title)
21
{
22
$this->title = $title;
23
}
0 commit comments