Completed
Push — master ( 2c87b2...a93112 )
by Daniel
09:48
created
model/base_entity.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,14 +36,12 @@
 block discarded – undo
36 36
 			if ('get' == $match[1])
37 37
 			{
38 38
 				return $this->$attribute;
39
-			}
40
-			else
39
+			} else
41 40
 			{
42 41
 				$this->$attribute = $this->_validate_attribute($match[2], $args[0]);
43 42
 				return $this;
44 43
 			}
45
-		}
46
-		else
44
+		} else
47 45
 		{
48 46
 			throw new \blitze\sitemaker\exception\unexpected_value(array($name, 'UNDEFINED_METHOD'));
49 47
 		}
Please login to merge, or discard this patch.
model/base_mapper.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -97,8 +97,7 @@
 block discarded – undo
97 97
 		if (is_null($entity->$accessor()))
98 98
 		{
99 99
 			$entity = $this->_insert($entity);
100
-		}
101
-		else
100
+		} else
102 101
 		{
103 102
 			$this->_update($entity);
104 103
 		}
Please login to merge, or discard this patch.
model/menus/mapper/items.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,8 +86,7 @@
 block discarded – undo
86 86
 		if ($entity->get_item_id())
87 87
 		{
88 88
 			return $this->tree->update_item($entity->get_item_id(), $sql_data);
89
-		}
90
-		else
89
+		} else
91 90
 		{
92 91
 			return $this->tree->insert($sql_data);
93 92
 		}
Please login to merge, or discard this patch.
exception/base.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,7 @@
 block discarded – undo
41 41
 		if (is_array($message))
42 42
 		{
43 43
 			$this->message = (string) $message[0];
44
-		}
45
-		else
44
+		} else
46 45
 		{
47 46
 			$this->message = $message;
48 47
 		}
Please login to merge, or discard this patch.