@@ -70,13 +70,13 @@ |
||
70 | 70 | * @param string $method |
71 | 71 | * @param string $path |
72 | 72 | */ |
73 | - public function call($method, $path, $params=array()) { |
|
73 | + public function call($method, $path, $params = array()) { |
|
74 | 74 | |
75 | 75 | if (!$this->_isReady()) { |
76 | 76 | return false; |
77 | 77 | } |
78 | 78 | |
79 | - if (!in_array($method, array('POST','PUT','GET','DELETE'))) { |
|
79 | + if (!in_array($method, array('POST', 'PUT', 'GET', 'DELETE'))) { |
|
80 | 80 | return false; |
81 | 81 | } |
82 | 82 |
@@ -99,7 +99,7 @@ |
||
99 | 99 | |
100 | 100 | $this->out(''); |
101 | 101 | |
102 | - if (($first_run) || (strtolower($this->in('Update Database?', ['y', 'n'])) == 'y')) { |
|
102 | + if (($first_run) || (strtolower($this->in('Update Database?', ['y', 'n'])) == 'y')) { |
|
103 | 103 | |
104 | 104 | $this->out(''); |
105 | 105 |