@@ -97,7 +97,7 @@ |
||
97 | 97 | // Execute the command and store the process ID |
98 | 98 | $output = array(); |
99 | 99 | exec($command, $output); |
100 | - $pid = (int) $output[0]; |
|
100 | + $pid = (int)$output[0]; |
|
101 | 101 | } |
102 | 102 | |
103 | 103 | if (!isset($pid)) { |
@@ -981,8 +981,8 @@ discard block |
||
981 | 981 | $stmt->bindValue(':OID', $this->BO->getOID(), SQLITE3_INTEGER); |
982 | 982 | |
983 | 983 | $temp = $this->BO->getVersionNumber()->getValue(); |
984 | - $this->BO->set('version_num', $temp + 1); |
|
985 | - $stmt->bindValue(':version_num', $temp + 1, SQLITE3_INTEGER); |
|
984 | + $this->BO->set('version_num', $temp+1); |
|
985 | + $stmt->bindValue(':version_num', $temp+1, SQLITE3_INTEGER); |
|
986 | 986 | |
987 | 987 | $stmt->execute(); |
988 | 988 | } else { |
@@ -1065,7 +1065,7 @@ discard block |
||
1065 | 1065 | } else { |
1066 | 1066 | // there has been an error, so decrement the version number back |
1067 | 1067 | $temp = $this->BO->getVersionNumber()->getValue(); |
1068 | - $this->BO->set('version_num', $temp - 1); |
|
1068 | + $this->BO->set('version_num', $temp-1); |
|
1069 | 1069 | |
1070 | 1070 | throw new FailedSaveException('Failed to save object, SQLite error is ['.self::getLastDatabaseError().'], query ['.$this->BO->getLastQuery().']'); |
1071 | 1071 | } |
@@ -1090,7 +1090,7 @@ discard block |
||
1090 | 1090 | $this->BO->setLastQuery($sqlQuery); |
1091 | 1091 | $stmt = self::getConnection()->prepare($sqlQuery); |
1092 | 1092 | |
1093 | - $newVersionNumber = $this->BO->getVersionNumber()->getValue() + 1; |
|
1093 | + $newVersionNumber = $this->BO->getVersionNumber()->getValue()+1; |
|
1094 | 1094 | |
1095 | 1095 | if ($stmt instanceof SQLite3Stmt) { |
1096 | 1096 | if ($this->BO->getPropObject($attribute) instanceof Integer) { |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | * |
92 | 92 | * @param Alpha\Util\Http\Request $request |
93 | 93 | * |
94 | - * @return Alpha\Util\Http\Response |
|
94 | + * @return Response |
|
95 | 95 | * |
96 | 96 | * @since 1.0 |
97 | 97 | */ |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | * |
116 | 116 | * @param Alpha\Util\Http\Request $request |
117 | 117 | * |
118 | - * @return Alpha\Util\Http\Response |
|
118 | + * @return Response |
|
119 | 119 | * |
120 | 120 | * @since 1.0 |
121 | 121 | */ |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | * |
92 | 92 | * @param Alpha\Util\Http\Request $request |
93 | 93 | * |
94 | - * @return Alpha\Util\Http\Response |
|
94 | + * @return Response |
|
95 | 95 | * |
96 | 96 | * @since 1.0 |
97 | 97 | */ |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | * |
116 | 116 | * @param Alpha\Util\Http\Request $request |
117 | 117 | * |
118 | - * @return Alpha\Util\Http\Response |
|
118 | + * @return Response |
|
119 | 119 | * |
120 | 120 | * @since 1.0 |
121 | 121 | */ |
@@ -88,7 +88,7 @@ |
||
88 | 88 | * |
89 | 89 | * @param Alpha\Util\Http\Request $request |
90 | 90 | * |
91 | - * @return Alpha\Util\Http\Response |
|
91 | + * @return Response |
|
92 | 92 | * |
93 | 93 | * @since 1.0 |
94 | 94 | */ |
@@ -88,7 +88,7 @@ |
||
88 | 88 | * |
89 | 89 | * @param Alpha\Util\Http\Request $request |
90 | 90 | * |
91 | - * @return Alpha\Util\Http\Response |
|
91 | + * @return Response |
|
92 | 92 | * |
93 | 93 | * @since 1.0 |
94 | 94 | */ |
@@ -88,7 +88,7 @@ |
||
88 | 88 | * |
89 | 89 | * @param Alpha\Util\Http\Request $request |
90 | 90 | * |
91 | - * @return Alpha\Util\Http\Response |
|
91 | + * @return Response |
|
92 | 92 | * |
93 | 93 | * @since 1.0 |
94 | 94 | */ |
@@ -88,7 +88,7 @@ |
||
88 | 88 | * |
89 | 89 | * @param Alpha\Util\Http\Request $request |
90 | 90 | * |
91 | - * @return Alpha\Util\Http\Response |
|
91 | + * @return Response |
|
92 | 92 | * |
93 | 93 | * @since 1.0 |
94 | 94 | */ |
@@ -88,7 +88,7 @@ |
||
88 | 88 | * |
89 | 89 | * @param Alpha\Util\Http\Request $request |
90 | 90 | * |
91 | - * @return Alpha\Util\Http\Response |
|
91 | + * @return Response |
|
92 | 92 | * |
93 | 93 | * @since 1.0 |
94 | 94 | */ |