Completed
Push — master ( aa5a73...5f3c84 )
by Ondřej
02:54
created
src/Ivory/StdCoreFactory.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Ivory;
5 5
 
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
         return $reg;
108 108
     }
109 109
 
110
-    public function createSqlPatternParser(?ICacheControl $cacheControl = null): ISqlPatternParser
110
+    public function createSqlPatternParser(?ICacheControl $cacheControl = null) : ISqlPatternParser
111 111
     {
112 112
         if ($cacheControl === null) {
113 113
             return new SqlPatternParser();
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
         }
117 117
     }
118 118
 
119
-    public function createStatementExceptionFactory(?IStatementExecution $stmtExecution = null): StatementExceptionFactory
119
+    public function createStatementExceptionFactory(?IStatementExecution $stmtExecution = null) : StatementExceptionFactory
120 120
     {
121 121
         return new StatementExceptionFactory();
122 122
     }
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
         return new Connection($connName, $params);
127 127
     }
128 128
 
129
-    public function createCacheControl(?IConnection $connection = null): ICacheControl
129
+    public function createCacheControl(?IConnection $connection = null) : ICacheControl
130 130
     {
131 131
         $prefix = 'Ivory' . Ivory::VERSION . '.';
132 132
 
Please login to merge, or discard this patch.
src/Ivory/Type/TypeDictionaryCompilerBase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Ivory\Type;
5 5
 
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
         string $typeName,
257 257
         ITotallyOrderedType $subtype,
258 258
         ?IRangeCanonicalFunc $canonicalFunc = null
259
-    ): IType {
259
+    ) : IType {
260 260
         return new RangeType($schemaName, $typeName, $subtype, $canonicalFunc);
261 261
     }
262 262
 
Please login to merge, or discard this patch.
src/Ivory/Type/IntrospectingTypeDictionaryCompiler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Ivory\Type;
5 5
 
Please login to merge, or discard this patch.
src/Ivory/Lang/Sql/SqlState.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Ivory\Lang\Sql;
5 5
 
Please login to merge, or discard this patch.
src/Ivory/Lang/Sql/SqlStateClass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Ivory\Lang\Sql;
5 5
 
Please login to merge, or discard this patch.
src/Ivory/Connection/ConnectionControl.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Ivory\Connection;
5 5
 
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         }
66 66
     }
67 67
 
68
-    public function connect(?\Closure $initProcedure = null): bool
68
+    public function connect(?\Closure $initProcedure = null) : bool
69 69
     {
70 70
         if ($this->handler === null) {
71 71
             $this->initProcedure = $initProcedure;
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
      *
241 241
      * @param string|null $notice last notice received on this connection
242 242
      */
243
-    public function setLastNotice(?string $notice): void
243
+    public function setLastNotice(?string $notice) : void
244 244
     {
245 245
         $this->lastNotice = $notice;
246 246
     }
Please login to merge, or discard this patch.
src/Ivory/Connection/IPCControl.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Ivory\Connection;
5 5
 
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
         return pg_get_pid($handler);
23 23
     }
24 24
 
25
-    public function notify(string $channel, ?string $payload = null): void
25
+    public function notify(string $channel, ?string $payload = null) : void
26 26
     {
27 27
         if ($payload === null) {
28 28
             $this->stmtExec->command('NOTIFY %ident', $channel);
Please login to merge, or discard this patch.