Skip to content

Commit 131c7aa

Browse files
committed
Add PhpDoc block to help IDE completion
1 parent 284a347 commit 131c7aa

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/AbstractStaticEntity.php

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ abstract class AbstractStaticEntity implements StaticEntityInterface
77
{
88
protected $id;
99

10+
/**
11+
* @param $id
12+
*
13+
* @return $this
14+
*/
1015
static public function get($id): StaticEntityInterface
1116
{
1217
return Provider::get(get_called_class(), $id);

tests/Fixtures/BadProperty.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class BadProperty extends AbstractStaticEntity
88
{
9-
static function getDataSet(): array
9+
static public function getDataSet(): array
1010
{
1111
return [
1212
1 => [

0 commit comments

Comments
 (0)