Classes/Service/Targets/Dummy.php 1 location
|
@@ 28-30 (lines=3) @@
|
25 |
|
public function getConfiguration() |
26 |
|
{ |
27 |
|
$configuration = parent::getConfiguration(); |
28 |
|
if (!isset($configuration['sleepSeconds']) || !is_numeric($configuration['sleepSeconds'])) { |
29 |
|
$configuration['sleepSeconds'] = 1; |
30 |
|
} |
31 |
|
|
32 |
|
if (!isset($configuration['result']) || !is_numeric($configuration['result'])) { |
33 |
|
$configuration['result'] = TargetInterface::RESULT_UNSURE; |
Classes/Service/Targets/ExtbaseModel.php 1 location
|
@@ 54-56 (lines=3) @@
|
51 |
|
public function getConfiguration() |
52 |
|
{ |
53 |
|
$configuration = parent::getConfiguration(); |
54 |
|
if (!isset($configuration['pid']) || !is_numeric($configuration['pid'])) { |
55 |
|
$configuration['pid'] = 0; |
56 |
|
} |
57 |
|
|
58 |
|
return $configuration; |
59 |
|
} |