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 284a347 commit 131c7aaCopy full SHA for 131c7aa
src/AbstractStaticEntity.php
@@ -7,6 +7,11 @@ abstract class AbstractStaticEntity implements StaticEntityInterface
7
{
8
protected $id;
9
10
+ /**
11
+ * @param $id
12
+ *
13
+ * @return $this
14
+ */
15
static public function get($id): StaticEntityInterface
16
17
return Provider::get(get_called_class(), $id);
tests/Fixtures/BadProperty.php
@@ -6,7 +6,7 @@
6
class BadProperty extends AbstractStaticEntity
- static function getDataSet(): array
+ static public function getDataSet(): array
return [
1 => [
0 commit comments