File tree 2 files changed +5
-5
lines changed 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ public function getStatus(): string
111
111
*
112
112
* @throws InvalidArgumentException
113
113
*/
114
- private function setTitle (string $ title )
114
+ private function setTitle (string $ title ): void
115
115
{
116
116
if (strlen ($ title ) > self ::TITLE_MAX_LENGTH ) {
117
117
$ message = sprintf (
@@ -132,7 +132,7 @@ private function setTitle(string $title)
132
132
*
133
133
* @throws InvalidArgumentException
134
134
*/
135
- private function setStatus (string $ status )
135
+ private function setStatus (string $ status ): void
136
136
{
137
137
$ map = [
138
138
self ::STATUS_PROPOSED ,
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public function count(): int
54
54
*
55
55
* @param DecisionRecord $record
56
56
*/
57
- public function add (DecisionRecord $ record )
57
+ public function add (DecisionRecord $ record ): void
58
58
{
59
59
file_put_contents ($ this ->filename ($ record ), $ record ->output ());
60
60
}
@@ -87,7 +87,7 @@ public function records(): array
87
87
*
88
88
* @throws RuntimeException
89
89
*/
90
- private function set (string $ directory )
90
+ private function set (string $ directory ): void
91
91
{
92
92
if (! file_exists ($ directory )) {
93
93
$ this ->make ($ directory );
@@ -103,7 +103,7 @@ private function set(string $directory)
103
103
*
104
104
* @throws RuntimeException When the permissions prevent creating the directory
105
105
*/
106
- private function make (string $ directory )
106
+ private function make (string $ directory ): void
107
107
{
108
108
$ parent = dirname ($ directory );
109
109
You can’t perform that action at this time.
0 commit comments