Completed
Branch feature/currentUserRefactoring (e6f778)
by Schlaefer
02:47
created
src/Model/Table/UsersTable.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
         $this->addBehavior(
78 78
             'Proffer.Proffer',
79 79
             [
80
-                'avatar' => [ // The name of your upload field (filename)
80
+                'avatar' => [// The name of your upload field (filename)
81 81
                     'root' => $avatarRootDir,
82 82
                     'dir' => 'avatar_dir', // field for upload directory
83 83
                     'thumbnailSizes' => [
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
26 26
 use Cake\Datasource\Exception\RecordNotFoundException;
27 27
 use Cake\Event\Event;
28 28
 use Cake\ORM\Entity;
29
-use Cake\ORM\Locator\TableLocator;
30 29
 use Cake\ORM\Query;
31 30
 use Cake\ORM\TableRegistry;
32 31
 use Cake\Validation\Validation;
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|null $settings settings
23 23
      */
24 24
     public function __construct($settings)
25 25
     {
Please login to merge, or discard this patch.
plugins/Sitemap/src/Lib/SitemapGenerator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
     /**
106 106
      * Creates name for sitemap-file
107 107
      *
108
-     * @param array $params additional name parameters
108
+     * @param integer[] $params additional name parameters
109 109
      * @return string
110 110
      */
111 111
     protected function _filename($params = [])
Please login to merge, or discard this patch.
plugins/Stopwatch/src/Lib/Stopwatch.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@
 block discarded – undo
170 170
     /**
171 171
      * time to Cake start
172 172
      *
173
-     * @return mixed
173
+     * @return double
174 174
      */
175 175
     protected static function _timeToCake()
176 176
     {
Please login to merge, or discard this patch.
src/Controller/StatusController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      * Get status as JSON response
66 66
      *
67 67
      * @param string $data json-encoded data
68
-     * @return mixed
68
+     * @return string
69 69
      */
70 70
     protected function _statusAsJson($data)
71 71
     {
Please login to merge, or discard this patch.
src/Lib/Saito/Event/SaitoEventManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
     /**
73 73
      * attaches event-listener
74 74
      *
75
-     * @param string|SaitoEventListener $key key
75
+     * @param \Saito\Cache\EntriesCacheSupportCachelet $key key
76 76
      * @param null $callable function if $key is set
77 77
      * @return void
78 78
      * @throws \InvalidArgumentException
Please login to merge, or discard this patch.
src/Lib/Saito/Smiley/SmileyRenderer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
      *
89 89
      * @param string $string string
90 90
      * @param array $replacements replacements
91
-     * @return mixed
91
+     * @return string
92 92
      */
93 93
     protected function _debug($string, $replacements)
94 94
     {
Please login to merge, or discard this patch.
src/Model/Table/UserIgnoresTable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
      *
135 135
      * @param int $userId user-ID
136 136
      * @param int $blockedId user-ID
137
-     * @return mixed
137
+     * @return \Cake\Datasource\EntityInterface
138 138
      */
139 139
     protected function _get(int $userId, int $blockedId)
140 140
     {
Please login to merge, or discard this patch.
src/View/Helper/UserHelper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      * Translates user types
86 86
      *
87 87
      * @param string $type type
88
-     * @return mixed
88
+     * @return string|null
89 89
      */
90 90
     public function type($type)
91 91
     {
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
      * Link to user-profile
127 127
      *
128 128
      * @param User|ForumsUserInterface $user user
129
-     * @param bool|CurrentUserInterface $link link
129
+     * @param boolean $link link
130 130
      * @param array $options options
131 131
      * @return string
132 132
      */
Please login to merge, or discard this patch.