issue with foreach statement syntax
This commit is contained in:
@@ -111,7 +111,7 @@ class ProcessStructureJob implements ShouldQueue
|
||||
//This will be implemented in the near future.
|
||||
|
||||
if(isset($structure->services)) {
|
||||
foreach($structure->service as $service) {
|
||||
foreach($structure->services as $service) {
|
||||
//Search for the service, and if found, update it, else add it.
|
||||
$serviceFound = Service::where([
|
||||
'structure_id' => $structure->structure_id,
|
||||
|
||||
@@ -146,6 +146,8 @@ return [
|
||||
'default',
|
||||
'journal',
|
||||
'mail',
|
||||
'structures',
|
||||
'assets',
|
||||
],
|
||||
'balance' => 'auto',
|
||||
'processes' => 3,
|
||||
@@ -160,6 +162,8 @@ return [
|
||||
'default',
|
||||
'journal',
|
||||
'mail',
|
||||
'structures',
|
||||
'assets',
|
||||
],
|
||||
'balance' => 'auto',
|
||||
'processes' => 3,
|
||||
|
||||
Reference in New Issue
Block a user