Skip to content

Commit 805ea7a

Browse files
committed
add facade PHPDoc to support type-hinting
1 parent 37d74ec commit 805ea7a

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/Facades/SharedData.php

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,18 @@
44

55
use Illuminate\Support\Facades\Facade;
66

7+
/**
8+
* @see \Coderello\SharedData\SharedData
9+
*
10+
* @method static \Coderello\SharedData\SharedData put(mixed $key, mixed $value = null)
11+
* @method static mixed get(mixed $key = null)
12+
* @method static string toJson(int $options = 0)
13+
* @method static string render()
14+
*/
715
class SharedData extends Facade
816
{
917
/**
10-
* Get the registered name of the component.
11-
*
12-
* @return string
18+
* {@inheritdoc}
1319
*/
1420
protected static function getFacadeAccessor()
1521
{

0 commit comments

Comments
 (0)