Completed
Push — develop ( b91125...52c290 )
by Seth
03:00
created
src/SyncIntoCanvas/Calendar.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      */
115 115
     public function setName($name)
116 116
     {
117
-        $this->name = (string) $name;
117
+        $this->name = (string)$name;
118 118
     }
119 119
 
120 120
     /**
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
     protected function getPairingHash()
155 155
     {
156 156
         global $metadata;
157
-        return md5($this->getContext() . $this->getFeedUrl());
157
+        return md5($this->getContext().$this->getFeedUrl());
158 158
     }
159 159
 
160 160
     public function save()
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
     public static function load($id)
213 213
     {
214 214
         $sql = static::getMySql();
215
-        $query = "SELECT * FROM `calendars` WHERE `id` = '" . $sql->escape_string($id) . "'";
215
+        $query = "SELECT * FROM `calendars` WHERE `id` = '".$sql->escape_string($id)."'";
216 216
         $response = $sql->query($query);
217 217
         if ($response) {
218 218
             $calendar = $response->fetch_assoc();
Please login to merge, or discard this patch.