Passed
Push — develop ( a25cb7...a43744 )
by nguereza
03:28
created
src/Schema/BaseColumn.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -50,8 +50,7 @@  discard block
 block discarded – undo
50 50
  * Class BaseColumn
51 51
  * @package Platine\Database\Schema
52 52
  */
53
-class BaseColumn
54
-{
53
+class BaseColumn {
55 54
 
56 55
     /**
57 56
      * The name of the column
@@ -76,8 +75,7 @@  discard block
 block discarded – undo
76 75
      * @param string $name
77 76
      * @param string|null $type
78 77
      */
79
-    public function __construct(string $name, ?string $type = null)
80
-    {
78
+    public function __construct(string $name, ?string $type = null) {
81 79
         $this->name = $name;
82 80
         $this->type = $type;
83 81
     }
@@ -152,8 +150,7 @@  discard block
 block discarded – undo
152 150
      * @param mixed|null $default
153 151
      * @return mixed
154 152
      */
155
-    public function get(string $name, $default = null)
156
-    {
153
+    public function get(string $name, $default = null) {
157 154
         return isset($this->properties[$name])
158 155
                     ? $this->properties[$name]
159 156
                     : $default;
Please login to merge, or discard this patch.
src/Pool.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
                 !empty($config['connections'])
79 79
                 && is_array($config['connections'])
80 80
             ) {
81
-                 /** @var array<string, array<string, mixed>> $connections */
81
+                    /** @var array<string, array<string, mixed>> $connections */
82 82
                 $connections = $config['connections'];
83 83
 
84 84
                 foreach ($connections as $name => $connection) {
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,8 +52,7 @@  discard block
 block discarded – undo
52 52
  * Class Pool
53 53
  * @package Platine\Database
54 54
  */
55
-class Pool
56
-{
55
+class Pool {
57 56
 
58 57
     /**
59 58
      * The default connection name
@@ -71,8 +70,7 @@  discard block
 block discarded – undo
71 70
      * Class constructor
72 71
      * @param array<string, mixed> $config
73 72
      */
74
-    public function __construct(array $config = [])
75
-    {
73
+    public function __construct(array $config = []) {
76 74
         if (!empty($config)) {
77 75
             if (
78 76
                 !empty($config['connections'])
Please login to merge, or discard this patch.
src/Exception/ConnectionNotFoundException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,6 +38,5 @@
 block discarded – undo
38 38
  * Class ConnectionNotFoundException
39 39
  * @package Platine\Database\Exception
40 40
  */
41
-class ConnectionNotFoundException extends Exception
42
-{
41
+class ConnectionNotFoundException extends Exception {
43 42
 }
Please login to merge, or discard this patch.
src/Exception/ConnectionAlreadyExistsException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,6 +38,5 @@
 block discarded – undo
38 38
  * Class ConnectionAlreadyExistsException
39 39
  * @package Platine\Database\Exception
40 40
  */
41
-class ConnectionAlreadyExistsException extends Exception
42
-{
41
+class ConnectionAlreadyExistsException extends Exception {
43 42
 }
Please login to merge, or discard this patch.