Completed
Pull Request — develop (#291)
by Armando
03:24
created
src/Entities/Entity.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     /**
66 66
      * Reflect
67 67
      *
68
-     * @param null $object
68
+     * @param Entity $object
69 69
      *
70 70
      * @return array
71 71
      */
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
     /**
184 184
      * Get a property from the current Entity
185 185
      *
186
-     * @param mixed $property
186
+     * @param string $property
187 187
      * @param mixed $default
188 188
      *
189 189
      * @return mixed
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -278,8 +278,8 @@
 block discarded – undo
278 278
     public function stripMarkDown($string)
279 279
     {
280 280
         return str_replace(
281
-            ['[', '`', '*', '_',],
282
-            ['\[', '\`', '\*', '\_',],
281
+            ['[', '`', '*', '_', ],
282
+            ['\[', '\`', '\*', '\_', ],
283 283
             $string
284 284
         );
285 285
     }
Please login to merge, or discard this patch.
src/Entities/InlineKeyboardButton.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     {
41 41
         return is_array($data) &&
42 42
             array_key_exists('text', $data) && (
43
-                   array_key_exists('url', $data) ||
43
+                    array_key_exists('url', $data) ||
44 44
                    array_key_exists('callback_data', $data) ||
45 45
                    array_key_exists('switch_inline_query', $data)
46 46
             );
Please login to merge, or discard this patch.