Skip to content

Commit

Permalink
Merge pull request #44 from 42coders/analysis-RPwWwK
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
Max-Hutschenreiter authored Oct 23, 2023
2 parents bb53b44 + 071cf94 commit 0a5037b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/DataBuses/DataBussable.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ public function getParentDataBusKeys($passedFields = [])
$newFields = $passedFields;

if (! empty($this->parentable)) {

//foreach($this->parentable::$fields as $key => $value){
// $newFields[$key] = $this->parentable->name.' - '.$value;
//}
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Controllers/WorkflowController.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function update(Request $request, $id)
/**
* Deletes the Workflow and over cascading also the Tasks, TaskLogs, WorkflowLogs and Triggers.
*
* @param $id
* @param $id
* @return \Illuminate\Contracts\Foundation\Application|\Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector
*/
public function delete($id)
Expand Down
4 changes: 2 additions & 2 deletions src/Tasks/SendMail.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ public function execute(): void
$counter++;
}
}
if(!empty($dataBus->get('cc'))){
if (! empty($dataBus->get('cc'))) {
$message->cc($dataBus->get('cc'));
}
if(!empty($dataBus->get('bcc'))){
if (! empty($dataBus->get('bcc'))) {
$message->bcc($dataBus->get('bcc'));
}
});
Expand Down

0 comments on commit 0a5037b

Please sign in to comment.