@@ -22,7 +22,7 @@ public function __construct(
2222
2323 /**
2424 * @param non-empty-string $type
25- * @param array<string, string> $attributes
25+ * @param array<non-empty- string, non-empty- string> $attributes
2626 * @return iterable<Webhook>
2727 */
2828 public function loadForDispatching (string $ type , array $ attributes ): iterable
@@ -150,7 +150,7 @@ public function delete(string $webhookId): void
150150 }
151151
152152 /**
153- * @param array<string, string> $attributes
153+ * @param array<non-empty- string, non-empty- string> $attributes
154154 * @return array<int>
155155 */
156156 private function getWebhooksForAttributes (ConnectionInterface $ connection , array $ attributes ): array
@@ -183,7 +183,7 @@ private function getWebhooksForAttributes(ConnectionInterface $connection, array
183183 }
184184
185185 /**
186- * @return array<string, string>
186+ * @return array<non-empty- string, non-empty- string>
187187 */
188188 private function getWebhookRequiredAttributes (ConnectionInterface $ connection , int $ webhookId ): array
189189 {
@@ -197,13 +197,13 @@ private function getWebhookRequiredAttributes(ConnectionInterface $connection, i
197197 }
198198 }
199199
200- /** @var array<string, string> */
200+ /** @var array<non-empty- string, non-empty- string> */
201201 return $ attributes ;
202202 }
203203
204204 /**
205- * @param array<string, string> $requiredAttributes
206- * @param array<string, string> $attributes
205+ * @param array<non-empty- string, non-empty- string> $requiredAttributes
206+ * @param array<non-empty- string, non-empty- string> $attributes
207207 */
208208 private function haveAttributesRequiredAttributes (array $ requiredAttributes , array $ attributes ): bool
209209 {
0 commit comments