Completed
Branch feature/phpstanLevel2 (e9b6b0)
by Schlaefer
02:36
created
src/Model/Table/UserOnlineTable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
      * Removes user with uuid `$id` from UserOnline
122 122
      *
123 123
      * @param string $id id
124
-     * @return bool
124
+     * @return integer
125 125
      */
126 126
     public function setOffline($id)
127 127
     {
Please login to merge, or discard this patch.
src/View/Helper/UserHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
      * Translates user types
80 80
      *
81 81
      * @param string $type type
82
-     * @return mixed
82
+     * @return string|null
83 83
      */
84 84
     public function type($type)
85 85
     {
Please login to merge, or discard this patch.
plugins/BbcodeParser/src/Lib/Preprocessor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     /**
20 20
      * Constructor
21 21
      *
22
-     * @param array $settings settings
22
+     * @param \Saito\Markup\MarkupSettings $settings settings
23 23
      */
24 24
     public function __construct($settings)
25 25
     {
Please login to merge, or discard this patch.
src/View/Helper/ParserHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
     /**
87 87
      * get editor help
88 88
      *
89
-     * @return mixed
89
+     * @return string
90 90
      */
91 91
     public function editorHelp()
92 92
     {
Please login to merge, or discard this patch.
plugins/Admin/src/View/Helper/AdminHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
      *
67 67
      * @param string $text text
68 68
      * @param null $type type
69
-     * @return mixed
69
+     * @return string|null
70 70
      */
71 71
     public function badge($text, $type = null)
72 72
     {
Please login to merge, or discard this patch.
plugins/Installer/src/Controller/InstallController.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -226,6 +226,7 @@
 block discarded – undo
226 226
 
227 227
     /**
228 228
      * {@inheritdoc}
229
+     * @param string $msg
229 230
      */
230 231
     public function log($msg, $level = LogLevel::INFO, $context = ['saito.install'])
231 232
     {
Please login to merge, or discard this patch.
src/Lib/Model/Table/AppTable.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -125,6 +125,7 @@
 block discarded – undo
125 125
 
126 126
     /**
127 127
      * {@inheritdoc}
128
+     * @param string $key
128 129
      */
129 130
     public function getConfig($key = null, $default = null)
130 131
     {
Please login to merge, or discard this patch.
src/Lib/Saito/User/Cookie/CurrentUserCookie.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -31,6 +31,7 @@
 block discarded – undo
31 31
 
32 32
     /**
33 33
      * {@inheritDoc}
34
+     * @param integer $id
34 35
      */
35 36
     public function write($id)
36 37
     {
Please login to merge, or discard this patch.
src/Lib/Saito/User/LastRefresh/LastRefreshAbstract.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
      * tested if new for user.
55 55
      *
56 56
      * @param string|\DateTimeInterface $timestamp int unix-timestamp or date as string
57
-     * @return mixed bool or null if not determinable
57
+     * @return null|boolean bool or null if not determinable
58 58
      */
59 59
     public function isNewerThan($timestamp)
60 60
     {
Please login to merge, or discard this patch.