Completed
Push — master ( caaac4...68a662 )
by Andreas
03:55
created
src/storage/connection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -213,7 +213,7 @@
 block discarded – undo
213 213
             $midgard = midgard_connection::get_instance();
214 214
             if ($midgard->config->logfilename) {
215 215
                 $logdir = dirname($midgard->config->logfilename);
216
-                if (   !is_dir($logdir)
216
+                if (!is_dir($logdir)
217 217
                     && !mkdir($logdir, 0777, true)) {
218 218
                     throw exception::user_data('Log directory could not be created');
219 219
                 }
Please login to merge, or discard this patch.
src/driver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
 
157 157
         foreach ($type->get_properties() as $name => $property) {
158 158
             // doctrine can handle id links only
159
-            if (   $property->link
159
+            if ($property->link
160 160
                 && $target_class = $this->manager->resolve_targetclass($property)) {
161 161
                 $link_mapping = array(
162 162
                     'fieldName' => $property->name,
Please login to merge, or discard this patch.