Skip to content

Commit eeb43dd

Browse files
author
Ilya Sakovich
authored
Merge pull request #4 from klimov-paul/facade-typehint
Facade type-hinting support
2 parents 9c94f27 + 805ea7a commit eeb43dd

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)