Completed
Push — master ( 10d1f0...e9447b )
by Mahmoud
03:24
created
app/Port/Tests/PHPUnit/Traits/TestingTrait.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     public $loggedInTestingUser;
38 38
 
39 39
     /**
40
-     * @param        $endpoint
40
+     * @param        string $endpoint
41 41
      * @param string $verb
42 42
      * @param array  $data
43 43
      * @param bool   $protected
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      * So this can be used to test endpoints that are protected by visitors
111 111
      * access.
112 112
      *
113
-     * @return  App\Containers\User\Models\User|mixed
113
+     * @return  User
114 114
      */
115 115
     public function getVisitor()
116 116
     {
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
     }
125 125
 
126 126
     /**
127
-     * @return  App\Containers\User\Models\User|mixed
127
+     * @return  User
128 128
      */
129 129
     public function getLoggedInTestingAdmin()
130 130
     {
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
     /**
163 163
      * @param null $userDetails
164 164
      *
165
-     * @return  mixed
165
+     * @return  User
166 166
      */
167 167
     public function registerAndLoginTestingUser($userDetails = null)
168 168
     {
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
     /**
194 194
      * @param null $userDetails
195 195
      *
196
-     * @return  mixed
196
+     * @return  User
197 197
      */
198 198
     public function registerAndLoginTestingAdmin($userDetails = null)
199 199
     {
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
      *
210 210
      * @param null $userDetails
211 211
      *
212
-     * @return  mixed
212
+     * @return  User
213 213
      */
214 214
     public function registerAndLoginTestingDeveloper($userDetails = null)
215 215
     {
Please login to merge, or discard this patch.