@@ -224,8 +224,8 @@ discard block |
||
224 | 224 | */ |
225 | 225 | public function transactional($func) |
226 | 226 | { |
227 | - if (!is_callable($func)) { |
|
228 | - throw new \InvalidArgumentException('Expected argument of type "callable", got "' . gettype($func) . '"'); |
|
227 | + if ( ! is_callable($func)) { |
|
228 | + throw new \InvalidArgumentException('Expected argument of type "callable", got "'.gettype($func).'"'); |
|
229 | 229 | } |
230 | 230 | |
231 | 231 | $this->conn->beginTransaction(); |
@@ -753,7 +753,7 @@ discard block |
||
753 | 753 | */ |
754 | 754 | public function isOpen() |
755 | 755 | { |
756 | - return (!$this->closed); |
|
756 | + return ( ! $this->closed); |
|
757 | 757 | } |
758 | 758 | |
759 | 759 | /** |
@@ -864,7 +864,7 @@ discard block |
||
864 | 864 | sprintf( |
865 | 865 | 'Invalid $connection argument of type %s given%s.', |
866 | 866 | is_object($connection) ? get_class($connection) : gettype($connection), |
867 | - is_object($connection) ? '' : ': "' . $connection . '"' |
|
867 | + is_object($connection) ? '' : ': "'.$connection.'"' |
|
868 | 868 | ) |
869 | 869 | ); |
870 | 870 | } |