Always prefer stricter string comparisons.

This commit is contained in:
Lucas Michot committed 2024-10-31 15:23:19 +01:00
1 parent 79d5434da2
commit 601f1a4717
25 files changed
+55 -55

No files matched your search

@@ -77,7 +77,7 @@ class Show extends Component
try {
$this->task->delete();
if ($this->type == 'application') {
if ($this->type === 'application') {
return redirect()->route('project.application.configuration', $this->parameters, $this->scheduledTaskName);
} else {
return redirect()->route('project.service.configuration', $this->parameters, $this->scheduledTaskName);