Skip to content

Commit 1149fbb

Browse files
Fixed a typo and some whitespaces
1 parent 17aeeed commit 1149fbb

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/Cli/Executable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* @link http://phpbu.de/
1313
* @since Class available since Release 2.1.0
1414
*/
15-
Interface Executable
15+
interface Executable
1616
{
1717
/**
1818
* Executes the cli commands.

src/Cli/Executable/Arangodump.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,12 +229,12 @@ public function createProcess()
229229
$cmd->addOptionIfNotEmpty('--server.database', $this->database, true, ' ');
230230

231231
if (count($this->collections)) {
232-
foreach($this->collections as $collection){
232+
foreach ($this->collections as $collection) {
233233
$cmd->addOption('--collection', $collection, ' ');
234234
}
235235
}
236236

237-
if($this->disableAuthentication){
237+
if ($this->disableAuthentication){
238238
$cmd->addOption('--server.disable-authentication', 'true', ' ');
239239
}
240240

src/Cli/Executable/Mcrypt.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,10 @@ public function useConfig($path)
171171
*/
172172
protected function createProcess()
173173
{
174-
if(empty($this->targetFile)) {
174+
if (empty($this->targetFile)) {
175175
throw new Exception('target file is missing');
176176
}
177-
if(empty($this->key) && empty($this->keyFile)) {
177+
if (empty($this->key) && empty($this->keyFile)) {
178178
throw new Exception('one of \'key\' or \'keyFile\' is mandatory');
179179
}
180180
$process = new Process();

0 commit comments

Comments
 (0)