Skip to content

Commit 6e2f90b

Browse files
committed
Adjust invalid Exception annotation
1 parent 56b10a1 commit 6e2f90b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Cms/Block/BlockByIdentifier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ private function filterOutput(string $content): string
106106
* Loads the CMS block by `identifier` provided as an argument
107107
*
108108
* @return BlockInterface|BlockModel
109-
* @throws NoSuchEntityException
109+
* @throws \InvalidArgumentException
110110
*/
111111
private function getCmsBlock(): BlockInterface
112112
{

0 commit comments

Comments
 (0)