Commit 0032c435 authored by Guy Thouret's avatar Guy Thouret

(chore) Lint recent changes - #616

1 merge request!303WIP: Propogate Properties when entities get updated
Pipeline #79226006 passed with stages
in 11 minutes and 12 seconds
......@@ -17,8 +17,7 @@ class Manager
public function __construct(
Save $save = null,
PropagateProperties $propagateProperties = null
)
{
) {
$this->save = $save ?: new Save();
$this->propagateProperties = $propagateProperties ?? Di::_()->get('PropagateProperties');
}
......
......@@ -17,8 +17,7 @@ class PropagatePropertiesSpec extends ObjectBehavior
public function let(
Blog $blog,
Activity $activity
)
{
) {
$this->blog = $blog;
$this->activity = $activity;
}
......
......@@ -16,8 +16,7 @@ class PropagatePropertiesSpec extends ObjectBehavior
public function let(
Blog $blog,
Activity $activity
)
{
) {
$this->blog = $blog;
$this->activity = $activity;
}
......
......@@ -24,8 +24,7 @@ class PropagatePropertiesSpec extends ObjectBehavior
EntitiesBuilder $entitiesBuilder,
Activity $activity,
Entity $entity
)
{
) {
$this->beConstructedWith($db, $save, $entitiesBuilder);
$this->db = $db;
$this->save = $save;
......
......@@ -16,8 +16,7 @@ class PropagatePropertiesSpec extends ObjectBehavior
public function let(
Entity $entity,
Activity $activity
)
{
) {
$this->entity = $entity;
$this->activity = $activity;
}
......
......@@ -16,8 +16,7 @@ class PropagatePropertiesSpec extends ObjectBehavior
public function let(
Image $entity,
Activity $activity
)
{
) {
$this->entity = $entity;
$this->activity = $activity;
}
......
......@@ -16,8 +16,7 @@ class PropagatePropertiesSpec extends ObjectBehavior
public function let(
Entity $entity,
Activity $activity
)
{
) {
$this->entity = $entity;
$this->activity = $activity;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment