@@ -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. |
@@ -44,8 +44,7 @@ |
||
| 44 | 44 | public function __construct( |
| 45 | 45 | $components = [], |
| 46 | 46 | $connector = null |
| 47 | - ) |
|
| 48 | - { |
|
| 47 | + ) { |
|
| 49 | 48 | if ($connector !== null && !$connector instanceof FieldConnector) { |
| 50 | 49 | throw new \Exception('Connector must implement FieldConnector'); |
| 51 | 50 | } |