Skip to content

Commit de21b6f

Browse files
emreakaygithub-actions[bot]
authored andcommitted
Fix styling
1 parent 691fb5d commit de21b6f

File tree

5 files changed

+2
-11
lines changed

5 files changed

+2
-11
lines changed

src/Contracts/IssueOwnerModelContract.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ public function ownIssue(AIssue $issue): void;
1616

1717
public function disownIssue(AIssue $issue): void;
1818

19-
2019
/**
2120
* ConnectiveCollection<AIssue>
2221
*/

src/Models/AIssue.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,5 +200,4 @@ public function setOwnerModel(IssueActorModelContract&Model $issueOwnerModel): v
200200

201201
$this->connectTo($issueOwnerModel, 'issue_owner_model');
202202
}
203-
204203
}

src/Traits/AIssueOwner.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace AuroraWebSoftware\AIssue\Traits;
44

5-
use AuroraWebSoftware\AIssue\Contracts\IssueActorModelContract;
65
use AuroraWebSoftware\AIssue\Contracts\IssueOwnerModelContract;
76
use AuroraWebSoftware\AIssue\Models\AIssue;
87
use AuroraWebSoftware\Connective\Collections\ConnectiveCollection;
@@ -32,7 +31,6 @@ public function disownIssue(AIssue $issue): void
3231
}
3332
}
3433

35-
3634
/**
3735
* ConnectiveCollection<AIssue>
3836
*/

tests/Models/ExampleIssueOwner.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,18 @@
99

1010
/**
1111
* @property string $name
12+
*
1213
* @method static ExampleIssueOwner create(array $attributes = [])
1314
*/
1415
class ExampleIssueOwner extends Model implements IssueOwnerModelContract
1516
{
16-
use Connective;
1717
use AIssueOwner;
18+
use Connective;
1819

1920
protected $guarded = [];
2021

2122
public static function supportedConnectionTypes(): array
2223
{
2324
return [];
2425
}
25-
26-
2726
}

tests/Unit/AIssueTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
$table->timestamps();
2727
});
2828

29-
3029
$classArflow = require __DIR__.'/../../vendor/aurorawebsoftware/arflow/database/migrations/create_arflow_history_table.php';
3130
(new $classArflow)->up();
3231

@@ -200,13 +199,10 @@
200199

201200
expect($issue->currentState())->toEqual('state2');
202201

203-
204202
$exampleIssueOwner1 = ExampleIssueOwner::create(['name' => 'example issue owner 1']);
205203
$exampleIssueOwner1->ownIssue($issue);
206204
expect($exampleIssueOwner1->getOwningIssues())->toHaveCount(1);
207205

208206
// delete kısmı yazılmadı henüz
209207

210-
211-
212208
});

0 commit comments

Comments
 (0)