@@ -25,7 +25,7 @@ |
||
25 | 25 | |
26 | 26 | /** |
27 | 27 | * FormAnswerAdd constructor. Pass active record of comment post and user id |
28 | - * @param $recordPost |
|
28 | + * @param \Ffcms\Core\Arch\ActiveModel $recordPost |
|
29 | 29 | * @param int $userId |
30 | 30 | */ |
31 | 31 | public function __construct($recordPost, $userId = 0) |
@@ -33,7 +33,7 @@ |
||
33 | 33 | /** |
34 | 34 | * Check if widget is enabled |
35 | 35 | * @param string|null $name |
36 | - * @return bool |
|
36 | + * @return null|boolean |
|
37 | 37 | */ |
38 | 38 | public static function enabled($name = null) |
39 | 39 | { |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | |
49 | 49 | /** |
50 | 50 | * @deprecated |
51 | - * @return \Illuminate\Database\Eloquent\Collection|mixed |
|
51 | + * @return \Illuminate\Database\Eloquent\Collection |
|
52 | 52 | * @throws SyntaxException |
53 | 53 | */ |
54 | 54 | public static function getAll() |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | * Get single row by defined type and sys_name with query caching |
79 | 79 | * @param string $type |
80 | 80 | * @param string|array $sys_name |
81 | - * @return mixed|null |
|
81 | + * @return App |
|
82 | 82 | * @throws SyntaxException |
83 | 83 | */ |
84 | 84 | public static function getItem($type, $sys_name) |