Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix code style
Browse files Browse the repository at this point in the history
alexander-schranz committed Apr 5, 2024
1 parent 6ec5208 commit becf65b
Showing 4 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion Build/BuilderContext.php
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ class BuilderContext
protected $output;
protected $application;

public function __construct(InputInterface $input, OutputInterface $output, Application $application = null)
public function __construct(InputInterface $input, OutputInterface $output, ?Application $application = null)
{
$this->input = $input;
$this->output = $output;
2 changes: 1 addition & 1 deletion Build/BuilderInterface.php
Original file line number Diff line number Diff line change
@@ -42,7 +42,7 @@ public function build();
/**
* Set the builder context.
*
* @param \Massive\Bundle\BuildBundle\Build\BuilderContext
* @param BuilderContext
*/
public function setContext(BuilderContext $context);
}
2 changes: 1 addition & 1 deletion Builder/VirtualBuilder.php
Original file line number Diff line number Diff line change
@@ -63,7 +63,7 @@ public function build()
/**
* Set the builder context.
*
* @param \Massive\Bundle\BuildBundle\Build\BuilderContext
* @param BuilderContext
*/
public function setContext(BuilderContext $context)
{
36 changes: 18 additions & 18 deletions Tests/DependencyInjection/ConfigurationTest.php
Original file line number Diff line number Diff line change
@@ -40,17 +40,17 @@ public function testConfiguration()
],
],
], [
'command_class' => 'Foo\Bar',
'targets' => [
'all' => [
'dependencies' => [
'foo' => [],
'bar' => [],
'baz' => [],
],
'command_class' => 'Foo\Bar',
'targets' => [
'all' => [
'dependencies' => [
'foo' => [],
'bar' => [],
'baz' => [],
],
],
]
],
]
);
}

@@ -69,17 +69,17 @@ public function testTargetsAsNull()
],
],
], [
'command_class' => 'Massive\Bundle\BuildBundle\Command\BuildCommand',
'targets' => [
'all' => [
'dependencies' => [
'foo' => [],
'bar' => [],
'baz' => [],
],
'command_class' => 'Massive\Bundle\BuildBundle\Command\BuildCommand',
'targets' => [
'all' => [
'dependencies' => [
'foo' => [],
'bar' => [],
'baz' => [],
],
],
]
],
]
);
}
}

0 comments on commit becf65b

Please sign in to comment.