File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments