Skip to content

Commit 4f78388

Browse files
committed
Add ignore for unused parameters on the setData method
1 parent db6f353 commit 4f78388

File tree

1 file changed

+1
-0
lines changed
  • lib/internal/Magento/Framework/Controller/Result

1 file changed

+1
-0
lines changed

lib/internal/Magento/Framework/Controller/Result/Json.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public function __construct(
5555
* @param array $options Additional options used during encoding
5656
* @return $this
5757
* @throws \InvalidArgumentException
58+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
5859
*/
5960
public function setData($data, $cycleCheck = false, $options = [])
6061
{

0 commit comments

Comments
 (0)