Skip to content

Commit 6144294

Browse files
committed
AC-601: Create phpcs static check for AbstractBlockTest
1 parent 3479d07 commit 6144294

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Magento2/Sniffs/Legacy/AbstractBlockSniff.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
<?php
2-
declare( strict_types = 1 );
32
/**
43
* Copyright © Magento. All rights reserved.
54
* See COPYING.txt for license details.
65
*/
6+
declare(strict_types = 1);
7+
78
namespace Magento2\Sniffs\Legacy;
89

910
use PHP_CodeSniffer\Files\File;
@@ -66,10 +67,10 @@ public function process(File $phpcsFile, $stackPtr)
6667
/**
6768
* Return if it is applicable to do the check
6869
*
69-
* @param String $content
70+
* @param string $content
7071
* @return bool
7172
*/
72-
private function isApplicable(String $content): bool
73+
private function isApplicable(string $content): bool
7374
{
7475
return in_array($content, [self::CHILD_HTML_METHOD, self::CHILD_CHILD_HTML_METHOD]);
7576
}

0 commit comments

Comments
 (0)