Skip to content
Snippets Groups Projects
Verified Commit 6decad77 authored by Bartek Jaskulski's avatar Bartek Jaskulski
Browse files

style: run phpcbf on src

parent 9a91616d
No related branches found
No related tags found
2 merge requests!3improve into wp-hook and some additional unfinished things,!21.x
......@@ -9,6 +9,7 @@ use WPDesk\Init\Binding\Definition;
use WPDesk\Init\Binding\Definition\HookableDefinition;
final class CompositeBinder implements Binder {
/** @var Binder[] */
private $binders;
......
......@@ -11,6 +11,7 @@ use WPDesk\Init\Binding\Definition\HookBinderDefinition;
use WPDesk\Init\Binding\Definition\HookableDefinition;
class HookBinderBinder implements Binder {
/** @var ContainerInterface */
private $container;
......
......@@ -10,6 +10,7 @@ use WPDesk\Init\Binding\Definition;
use WPDesk\Init\Binding\Definition\HookableDefinition;
class HookableBinder implements Binder {
/** @var ContainerInterface */
private $container;
......
......@@ -47,5 +47,4 @@ class StoppableBinder implements Binder {
private function can_be_stoppable( Definition $def ): bool {
return is_string( $def->value() ) && class_exists( $def->value() );
}
}
......@@ -49,5 +49,4 @@ class DirectoryBasedLoader implements BindingDefinitions {
yield from (new ArrayBindingLoader( $hooks, $this->def_factory ))->load();
}
}
......@@ -3,7 +3,6 @@ declare( strict_types=1 );
namespace WPDesk\Init\HookDriver;
final class CompositeDriver implements HookDriver {
/** @var HookDriver[] */
......
......@@ -5,6 +5,7 @@ declare(strict_types=1);
namespace WPDesk\Init\Plugin;
final class Header implements \ArrayAccess {
/** @var array */
private $header_data;
......@@ -44,5 +45,4 @@ final class Header implements \ArrayAccess {
public function has( string $key ): bool {
return isset( $this->header_data[ $key ] );
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment