@@ -11,10 +11,10 @@ |
||
11 | 11 | |
12 | 12 | namespace spec\LIN3S\WPFoundation\Configuration\Acf; |
13 | 13 | |
14 | -use fixtures\LIN3S\WPFoundation\Acf; |
|
15 | 14 | use LIN3S\WPFoundation\Configuration\Acf\Acf as BaseAcf; |
16 | 15 | use LIN3S\WPFoundation\Configuration\Acf\AcfInterface; |
17 | 16 | use PhpSpec\ObjectBehavior; |
17 | +use fixtures\LIN3S\WPFoundation\Acf; |
|
18 | 18 | |
19 | 19 | /** |
20 | 20 | * Custom ACF Wysiwyg class adding some useful features. |
@@ -11,10 +11,10 @@ |
||
11 | 11 | |
12 | 12 | namespace spec\LIN3S\WPFoundation\Configuration\Login; |
13 | 13 | |
14 | -use fixtures\LIN3S\WPFoundation\Login; |
|
15 | 14 | use LIN3S\WPFoundation\Configuration\Login\Login as BaseLogin; |
16 | 15 | use LIN3S\WPFoundation\Configuration\Login\LoginInterface; |
17 | 16 | use PhpSpec\ObjectBehavior; |
17 | +use fixtures\LIN3S\WPFoundation\Login; |
|
18 | 18 | |
19 | 19 | /** |
20 | 20 | * Spec of Login class. |
@@ -45,8 +45,7 @@ |
||
45 | 45 | $name = '', |
46 | 46 | $components = [], |
47 | 47 | $connector = null |
48 | - ) |
|
49 | - { |
|
48 | + ) { |
|
50 | 49 | if ($connector !== null && !$connector instanceof FieldConnector) { |
51 | 50 | throw new \Exception('Connector must implement FieldConnector'); |
52 | 51 | } |