Completed
Pull Request — develop (#291)
by Armando
05:02
created
src/Entities/WebhookInfo.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -14,11 +14,11 @@
 block discarded – undo
14 14
 
15 15
 class WebhookInfo extends Entity
16 16
 {
17
-    protected $url;                     //  String	    Webhook URL, may be empty if webhook is not set up
18
-    protected $has_custom_certificate;  //  Boolean	    True, if a custom certificate was provided for webhook certificate checks
19
-    protected $pending_update_count;    //  Integer	    Number of updates awaiting delivery
20
-    protected $last_error_date;         //  Integer     Optional. Unix time for the most recent error that happened when trying to deliver an update via webhook
21
-    protected $last_error_message;      //  String	    Optional. Error message in human-readable format for the most recent error that happened when trying to deliver an update via webhook
17
+    protected $url; //  String	    Webhook URL, may be empty if webhook is not set up
18
+    protected $has_custom_certificate; //  Boolean	    True, if a custom certificate was provided for webhook certificate checks
19
+    protected $pending_update_count; //  Integer	    Number of updates awaiting delivery
20
+    protected $last_error_date; //  Integer     Optional. Unix time for the most recent error that happened when trying to deliver an update via webhook
21
+    protected $last_error_message; //  String	    Optional. Error message in human-readable format for the most recent error that happened when trying to deliver an update via webhook
22 22
 
23 23
     public function __construct(array $data)
24 24
     {
Please login to merge, or discard this patch.
src/Entities/Keyboard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
 
91 91
         $data = reset($args);
92 92
 
93
-        if ($from_data = array_key_exists($keyboard_type, (array)$data)) {
93
+        if ($from_data = array_key_exists($keyboard_type, (array) $data)) {
94 94
             $args = $data[$keyboard_type];
95 95
 
96 96
             // Make sure we're working with a proper row.
Please login to merge, or discard this patch.