Skip to content

Commit dd69d4d

Browse files
committed
fix
1 parent a3e9511 commit dd69d4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Notifier/Bridge/MicrosoftTeams/MicrosoftTeamsOptions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public function expectedActor(string $actor): self
140140

141141
private function validateNumberOfActions(): void
142142
{
143-
if (\array_key_exists('potentialAction', $this->options) && self::MAX_ACTIONS === \count($this->options['potentialAction'])) {
143+
if (\array_key_exists('potentialAction', $this->options) && \count($this->options['potentialAction']) >= self::MAX_ACTIONS) {
144144
throw new InvalidArgumentException(sprintf('MessageCard maximum number of "potentialAction" has been reached (%d).', self::MAX_ACTIONS));
145145
}
146146
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy