Completed
Pull Request — master (#204)
by Ryan
11:34
created
examples/02_blog/Schema/BlogSchema.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,9 @@
 block discarded – undo
53 53
                     // code for creating a new post goes here
54 54
                     // we simple use our DataProvider for now
55 55
                     $post = DataProvider::getPost(10);
56
-                    if (!empty($args['post']['title'])) $post['title'] = $args['post']['title'];
56
+                    if (!empty($args['post']['title'])) {
57
+                        $post['title'] = $args['post']['title'];
58
+                    }
57 59
 
58 60
                     return $post;
59 61
                 }
Please login to merge, or discard this patch.