Test Failed
Pull Request — master (#10)
by Alice
01:55
created

ExceptionThread   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 21
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getDependencies() 0 3 1
A getMethodName() 0 3 1
1
<?php
2
3
namespace Wonderland\Thread\Tests\Implementation;
4
5
use Wonderland\Thread\AbstractThread;
6
7
class ExceptionThread extends AbstractThread
8
{
9
10
	/**
11
	 * Return the name of the method to process during the thread
12
	 *
13
	 * @return string
14
	 */
15
	protected function getMethodName(): string
16
	{
17
		return 'method';
18
	}
19
20
	/**
21
	 * Return the list of dependencies that will be passed as parameters of the method referenced by getMethodName
22
	 *
23
	 * @return array
24
	 */
25
	protected function getDependencies(): array
26
	{
27
		return ['toto'];
28
	}
29
30
}
31