File tree Expand file tree Collapse file tree 5 files changed +2
-11
lines changed Expand file tree Collapse file tree 5 files changed +2
-11
lines changed Original file line number Diff line number Diff 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 */
Original file line number Diff line number Diff line change @@ -200,5 +200,4 @@ public function setOwnerModel(IssueActorModelContract&Model $issueOwnerModel): v
200200
201201 $ this ->connectTo ($ issueOwnerModel , 'issue_owner_model ' );
202202 }
203-
204203}
Original file line number Diff line number Diff line change 22
33namespace AuroraWebSoftware \AIssue \Traits ;
44
5- use AuroraWebSoftware \AIssue \Contracts \IssueActorModelContract ;
65use AuroraWebSoftware \AIssue \Contracts \IssueOwnerModelContract ;
76use AuroraWebSoftware \AIssue \Models \AIssue ;
87use AuroraWebSoftware \Connective \Collections \ConnectiveCollection ;
@@ -32,7 +31,6 @@ public function disownIssue(AIssue $issue): void
3231 }
3332 }
3433
35-
3634 /**
3735 * ConnectiveCollection<AIssue>
3836 */
Original file line number Diff line number Diff line change 99
1010/**
1111 * @property string $name
12+ *
1213 * @method static ExampleIssueOwner create(array $attributes = [])
1314 */
1415class 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}
Original file line number Diff line number Diff line change 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
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});
You can’t perform that action at this time.
0 commit comments