Passed
Push — develop ( 3dc327...df1d70 )
by David
26s
created
src/Sql/Command/Update.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
             throw new EmptyDatasetException();
99 99
         }
100 100
 
101
-        $sets = array_map(function ($value) {
101
+        $sets = array_map(function($value) {
102 102
             return sprintf('%1$s = :%1$s', $value);
103 103
         }, array_keys($this->getData()));
104 104
         $where = $this->getWhereStatement();
Please login to merge, or discard this patch.
src/Sql/Where/ArrayWhere.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,10 +95,10 @@
 block discarded – undo
95 95
 
96 96
     public function buildRow(array $assocArray, $keySalt)
97 97
     {
98
-        list($prefix, $keySuffix, $keyPrefix,  $suffix) = $this->getParenthesis();
98
+        list($prefix, $keySuffix, $keyPrefix, $suffix) = $this->getParenthesis();
99 99
 
100 100
         $glue = $keyPrefix . $this->getFieldOperator() . $keySuffix;
101
-        return $prefix . implode($glue, array_map(function ($key, $value) use ($keySalt) {
101
+        return $prefix . implode($glue, array_map(function($key, $value) use ($keySalt) {
102 102
                     $saltedKey = $key . "-" . $keySalt;
103 103
                     $this->addData($saltedKey, $value);
104 104
                     return sprintf('%s = :%s', $key, $saltedKey);
Please login to merge, or discard this patch.
src/Sql/Command/WhereTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
     /**
73 73
      * adds a where statement to a given statement
74 74
      * @param null|WhereStatementInterface $where where statement to be used added
75
-     * @return CommandInterface bubbling
75
+     * @return WhereTrait bubbling
76 76
      * @since v1.0.0
77 77
      */
78 78
     public function setWhere(WhereStatementInterface $where = null)
Please login to merge, or discard this patch.