Skip to content

Commit b55ce3c

Browse files
AllanKodergithub-actions[bot]
authored andcommitted
Apply automatic changes
1 parent 2ff30e2 commit b55ce3c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎app/Services/ResourceEditsService.php‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ public function __construct(
2020
protected ComputerScienceResourceFilter $filterService,
2121
protected GeneralVotesSortingManager $sortingManager,
2222
) {}
23+
2324
/**
2425
* Determines the amount of votes needed to merge the resource edit into the
2526
*
@@ -147,7 +148,7 @@ public function createResourceEdit(ComputerScienceResource $computerScienceResou
147148
*/
148149
public function mergeResourceEdit(ResourceEdits $resourceEdits): ComputerScienceResource
149150
{
150-
if (!$this->canMergeEdits($resourceEdits)) {
151+
if (! $this->canMergeEdits($resourceEdits)) {
151152
throw new \LogicException('Not enough approvals to merge this edit.');
152153
}
153154

‎tests/Feature/Utils/TestingUtils.php‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
use App\Models\User;
99
use App\Services\ResourceEditsService;
1010
use Mockery;
11-
use Mockery\MockInterface;
1211
use Tests\RequestFactories\StoreCommentRequestFactory;
1312
use Tests\RequestFactories\StoreResourceEditRequestFactory;
1413
use Tests\RequestFactories\StoreResourceRequestFactory;

0 commit comments

Comments
 (0)