Completed
Push — master ( de9846...f8f782 )
by Temitope
04:50 queued 02:14
created
src/Controller/UserController.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author   Temitope Olotin <[email protected]>
4
- * @license  <https://opensource.org/license/MIT> MIT
5
- */
3
+     * @author   Temitope Olotin <[email protected]>
4
+     * @license  <https://opensource.org/license/MIT> MIT
5
+     */
6 6
 
7 7
 namespace Laztopaz\EmojiRestfulAPI;
8 8
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      *
13 13
      * @param $data
14 14
      *
15
-     * @return bool true
15
+     * @return boolean|null true
16 16
      */
17 17
     public function createUser(array $data)
18 18
     {
Please login to merge, or discard this patch.
src/Database/UploadTableInfo.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author   Temitope Olotin <[email protected]>
4
- * @license  <https://opensource.org/license/MIT> MIT
5
- */
3
+     * @author   Temitope Olotin <[email protected]>
4
+     * @license  <https://opensource.org/license/MIT> MIT
5
+     */
6 6
 
7 7
 namespace Laztopaz\EmojiRestfulAPI;
8 8
 
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -74,6 +74,9 @@
 block discarded – undo
74 74
 
75 75
     }
76 76
 
77
+    /**
78
+     * @param string $keywords
79
+     */
77 80
     public function createEmojiKeywords($emoji_id, $keywords)
78 81
     {
79 82
         if ($keywords) {
Please login to merge, or discard this patch.
src/Controller/EmojiController.php 3 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@
 block discarded – undo
232 232
         foreach ($emojis as $key => &$value) {
233 233
             $value['created_by'] = $value['created_by']['firstname'].' '.$value['created_by']['lastname'];
234 234
             $value['category'] = $value['category']['category_name'];
235
-            $value['keywords'] = array_map(function ($key) { return $key['keyword_name']; }, $value['keywords']);
235
+            $value['keywords'] = array_map(function($key) { return $key['keyword_name']; }, $value['keywords']);
236 236
         }
237 237
 
238 238
         return $emojis;
Please login to merge, or discard this patch.
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -254,6 +254,8 @@
 block discarded – undo
254 254
 
255 255
     /**
256 256
      * This method authenticate and return user id
257
+     * @param Request $request
258
+     * @param Response $response
257 259
      */
258 260
     public function getCurrentUserId($request, $response)
259 261
     {
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author   Temitope Olotin <[email protected]>
4
- * @license  <https://opensource.org/license/MIT> MIT
5
- */
3
+     * @author   Temitope Olotin <[email protected]>
4
+     * @license  <https://opensource.org/license/MIT> MIT
5
+     */
6 6
 
7 7
 namespace Laztopaz\EmojiRestfulAPI;
8 8
 
Please login to merge, or discard this patch.