diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2018-07-14 07:53:40 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2018-07-14 07:53:58 +0100 |
| commit | 962e29c940cdd655a7b3eb3820043674ccfe6852 (patch) | |
| tree | 33464b5a72e5020e1981898b117e08f5143d1d85 /app/View.php | |
| parent | 1e3dc5600dd51eb89325a4497367d793ff23fb6b (diff) | |
| download | webtrees-962e29c940cdd655a7b3eb3820043674ccfe6852.tar.gz webtrees-962e29c940cdd655a7b3eb3820043674ccfe6852.tar.bz2 webtrees-962e29c940cdd655a7b3eb3820043674ccfe6852.zip | |
PHPdoc
Diffstat (limited to 'app/View.php')
| -rw-r--r-- | app/View.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/app/View.php b/app/View.php index 775ff8f70e..ca75d5dbab 100644 --- a/app/View.php +++ b/app/View.php @@ -57,8 +57,11 @@ class View { /** * Shared data that is available to all views. + * + * @param string $key + * @param mixed $value */ - public static function share($key, $value) { + public static function share(string $key, $value) { self::$shared_data[$key] = $value; } @@ -66,6 +69,8 @@ class View { * Implementation of Blade "stacks". * * @see https://laravel.com/docs/5.5/blade#stacks + * + * @param string $stack */ public static function push(string $stack) { self::$stack = $stack; @@ -82,6 +87,8 @@ class View { /** * Implementation of Blade "stacks". * + * @param string $stack + * * @return string */ public static function stack(string $stack): string { |
