Completed
Pull Request — master (#30)
by
unknown
03:34
created
src/model/GenerateableInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -5,6 +5,7 @@
 block discarded – undo
5 5
 
6 6
 	/**
7 7
 	 * Generates docblock based on provided information
8
+	 * @return void
8 9
 	 */
9 10
 	public function generateDocblock();
10 11
 }
Please login to merge, or discard this patch.
src/model/PhpProperty.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 	 * @param string $indent
51 51
 	 * @return string
52 52
 	 */
53
-	static public function export($var, $indent="") {
53
+	static public function export($var, $indent = "") {
54 54
 		switch (gettype($var)) {
55 55
 			case "string":
56 56
 				return '"' . addcslashes($var, "\\\$\"\r\n\t\v\f") . '"';
@@ -98,9 +98,9 @@  discard block
 block discarded – undo
98 98
 			$default = $defaultProperties[$ref->name];
99 99
 			if (is_string($default)) {
100 100
 				$property->setValue($default);
101
-			} elseif(is_array($default)) {
101
+			} elseif (is_array($default)) {
102 102
 				$property->setValue(static::export($default));
103
-			} elseif(is_object($default)) {
103
+			} elseif (is_object($default)) {
104 104
 			} else {
105 105
 				$property->setExpression($default);
106 106
 			}
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 			case "boolean":
67 67
 				return $var ? "TRUE" : "FALSE";
68 68
 			default:
69
-				return var_export($var, TRUE);
69
+				return var_export($var, true);
70 70
 		}
71 71
 	}
72 72
 
Please login to merge, or discard this patch.
src/utils/Writer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
 					$this->content .= "\n";
90 90
 				}
91 91
 			}
92
-		} elseif(is_null($content)) {
92
+		} elseif (is_null($content)) {
93 93
 			$this->content .= 'null';
94 94
 		}
95 95
 		
Please login to merge, or discard this patch.