@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | $this->comment('Available configurations:'); |
48 | 48 | $config = \Config::get('oaipmh.harvests', null); |
49 | 49 | foreach (array_keys($config) as $key) { |
50 | - $this->comment(' - ' . $key); |
|
50 | + $this->comment(' - '.$key); |
|
51 | 51 | } |
52 | 52 | } |
53 | 53 | |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | |
59 | 59 | return false; |
60 | 60 | } |
61 | - $harvestConfig = \Config::get('oaipmh.harvests.' . $this->argument('name'), null); |
|
61 | + $harvestConfig = \Config::get('oaipmh.harvests.'.$this->argument('name'), null); |
|
62 | 62 | if (is_null($harvestConfig)) { |
63 | 63 | $this->error('Unknown configuration specified.'); |
64 | 64 | $this->listConfigurations(); |
@@ -100,23 +100,23 @@ discard block |
||
100 | 100 | } |
101 | 101 | |
102 | 102 | $harvestName = $this->argument('name'); |
103 | - $harvestConfig = \Config::get('oaipmh.harvests.' . $harvestName, null); |
|
103 | + $harvestConfig = \Config::get('oaipmh.harvests.'.$harvestName, null); |
|
104 | 104 | |
105 | 105 | $this->comment(sprintf('Dispatching new harvest job')); |
106 | 106 | |
107 | - $this->comment(' - Repo: ' . $harvestConfig['url']); |
|
108 | - $this->comment(' - Schema: ' . $harvestConfig['schema']); |
|
109 | - $this->comment(' - Set: ' . $harvestConfig['set']); |
|
107 | + $this->comment(' - Repo: '.$harvestConfig['url']); |
|
108 | + $this->comment(' - Schema: '.$harvestConfig['schema']); |
|
109 | + $this->comment(' - Set: '.$harvestConfig['set']); |
|
110 | 110 | |
111 | 111 | if ($this->option('daily')) { |
112 | - $from = Carbon::now()->setTime(0,0,0)->subDay(); |
|
113 | - $until = Carbon::now()->setTime(0,0,0); |
|
112 | + $from = Carbon::now()->setTime(0, 0, 0)->subDay(); |
|
113 | + $until = Carbon::now()->setTime(0, 0, 0); |
|
114 | 114 | } else { |
115 | 115 | $from = $this->option('from') ? Carbon::parse($this->option('from')) : null; |
116 | 116 | $until = $this->option('until') ? Carbon::parse($this->option('until')) : null; |
117 | 117 | } |
118 | - $this->comment(' - From: ' . ($from ? $from->toDateTimeString() : '(unspecified)')); |
|
119 | - $this->comment(' - Until: ' . ($until ? $until->toDateTimeString() : '(unspecified)')); |
|
118 | + $this->comment(' - From: '.($from ? $from->toDateTimeString() : '(unspecified)')); |
|
119 | + $this->comment(' - Until: '.($until ? $until->toDateTimeString() : '(unspecified)')); |
|
120 | 120 | |
121 | 121 | $this->dispatch( |
122 | 122 | new OaiPmhHarvestJob( |