Skip to content

Commit 75a9a05

Browse files
tabunagithub-actions[bot]
authored andcommitted
Fixed code style
1 parent 2f8ece8 commit 75a9a05

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

app/School/Course.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,5 @@ public function __construct(
99
public string $description,
1010
public string $image,
1111
public string $link
12-
)
13-
{
14-
}
12+
) {}
1513
}

app/School/Teacher.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ public function __construct(public $name, public $image, iterable $courses = [])
1717
}
1818

1919
/**
20-
* @param string $name
21-
* @param string $image
20+
* @param string $name
21+
* @param string $image
2222
* @param iterable $courses
23+
*
2324
* @return self
2425
*/
2526
public static function make(string $name, string $image, iterable $courses = []): Teacher

0 commit comments

Comments
 (0)