Passed
Push — master ( 1eace7...2570c5 )
by Henri
07:00
created
examples/Insert.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 use HnrAzevedo\Datamanager\DatamanagerException;
12 12
 use Model\User;
13 13
 
14
-try{
14
+try {
15 15
     $entity = new User();
16 16
 
17 17
     /* Set new info for insert in database */
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     /* Insert entity in database */
25 25
     $entity->persist();
26 26
 
27
-}catch(DatamanagerException $er){
27
+} catch (DatamanagerException $er) {
28 28
 
29 29
     die("Code Error: {$er->getCode()}, Line: {$er->getLine()}, File: {$er->getFile()}, Message: {$er->getMessage()}.");
30 30
 
Please login to merge, or discard this patch.
examples/Models/User.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -5,13 +5,13 @@
 block discarded – undo
5 5
 use HnrAzevedo\Datamanager\Model as Entity;
6 6
 
7 7
 /** 
8
-  * @property string $name 
9
-  * @property string $email 
10
-  * @property string $password
11
-  * @property string $birth
12
-  * @property string $register
13
-  * @property string $weight
14
-  */ 
8
+ * @property string $name 
9
+ * @property string $email 
10
+ * @property string $password
11
+ * @property string $birth
12
+ * @property string $register
13
+ * @property string $weight
14
+ */ 
15 15
 class User extends Entity{
16 16
 
17 17
     public function __construct()
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
   * @property string $register
13 13
   * @property string $weight
14 14
   */ 
15
-class User extends Entity{
15
+class User extends Entity {
16 16
 
17 17
     public function __construct()
18 18
     {
Please login to merge, or discard this patch.