Completed
Pull Request — master (#20)
by kacper
01:55
created
src/MySQLReplication/Event/RowEvent/RowEvent.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -352,9 +352,9 @@
 block discarded – undo
352 352
                 $values[$name] = $this->getDatetime2($column);
353 353
             }
354 354
             elseif ($column['type'] === ConstFieldType::TIMESTAMP)
355
-			{
356
-				$values[$name] = date('c', $this->binaryDataReader->readUInt32());
357
-			}
355
+            {
356
+                $values[$name] = date('c', $this->binaryDataReader->readUInt32());
357
+            }
358 358
             elseif ($column['type'] === ConstFieldType::TIME2)
359 359
             {
360 360
                 $values[$name] = $this->getTime2($column);
Please login to merge, or discard this patch.
src/MySQLReplication/BinLog/BinLogSocketConnect.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
     {
97 97
         if (false === ($this->socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP)))
98 98
         {
99
-            throw new BinLogException(BinLogException::UNABLE_TO_CREATE_SOCKET. socket_strerror(socket_last_error()), socket_last_error());
99
+            throw new BinLogException(BinLogException::UNABLE_TO_CREATE_SOCKET . socket_strerror(socket_last_error()), socket_last_error());
100 100
         }
101 101
         socket_set_block($this->socket);
102 102
         socket_set_option($this->socket, SOL_SOCKET, SO_KEEPALIVE, 1);
Please login to merge, or discard this patch.