Skip to content

Commit 79fac89

Browse files
LKaemmerlingStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent 21a4ae3 commit 79fac89

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

src/Models/Certificates/Certificates.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ public function getById(int $id)
147147
if (! HetznerAPIClient::hasError($response)) {
148148
return Certificate::parse(json_decode((string) $response->getBody())->{$this->_getKeys()['one']});
149149
}
150+
150151
return null;
151152
}
152153

src/Models/Networks/Network.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ public function addSubnet(Subnet $subnet)
9595
'action' => Action::parse(json_decode((string) $response->getBody())->action),
9696
], $response->getHeaders());
9797
}
98+
9899
return null;
99100
}
100101

@@ -114,6 +115,7 @@ public function deleteSubnet(Subnet $subnet)
114115
'action' => Action::parse(json_decode((string) $response->getBody())->action),
115116
], $response->getHeaders());
116117
}
118+
117119
return null;
118120
}
119121

@@ -133,6 +135,7 @@ public function addRoute(Route $route)
133135
'action' => Action::parse(json_decode((string) $response->getBody())->action),
134136
], $response->getHeaders());
135137
}
138+
136139
return null;
137140
}
138141

@@ -152,6 +155,7 @@ public function deleteRoute(Route $route)
152155
'action' => Action::parse(json_decode((string) $response->getBody())->action),
153156
], $response->getHeaders());
154157
}
158+
155159
return null;
156160
}
157161

@@ -165,6 +169,7 @@ public function changeIPRange(string $ipRange)
165169
'action' => Action::parse(json_decode((string) $response->getBody())->action),
166170
], $response->getHeaders());
167171
}
172+
168173
return null;
169174
}
170175

src/Models/SSHKeys/SSHKeys.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ public function getById(int $id)
144144
if (! HetznerAPIClient::hasError($response)) {
145145
return SSHKey::parse(json_decode((string) $response->getBody())->ssh_key);
146146
}
147+
147148
return null;
148149
}
149150

0 commit comments

Comments
 (0)