Skip to content

Commit 415288f

Browse files
committed
Fix static and integration test.
1 parent 9a7f3e6 commit 415288f

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

dev/tests/integration/testsuite/Magento/Test/Integrity/Modular/LayoutFilesTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,8 @@ public function layoutArgumentsDataProvider()
7777
*/
7878
protected function isSkippedArgument(array $argumentData)
7979
{
80-
// Do not take into account argument name and parameters
81-
unset($argumentData['name']);
82-
unset($argumentData['param']);
80+
// Do not take into account argument name, shared and parameters
81+
unset($argumentData['name'], $argumentData['param'], $argumentData['shared']);
8382

8483
$isUpdater = isset($argumentData['updater']);
8584
unset($argumentData['updater']);

lib/internal/Magento/Framework/View/Layout/Argument/Interpreter/DataObject.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,7 @@ public function __construct(
4848
}
4949

5050
/**
51-
* {@inheritdoc}
52-
* @return object
53-
* @throws \InvalidArgumentException
54-
* @throws \UnexpectedValueException
51+
* @inheritdoc
5552
*/
5653
public function evaluate(array $data)
5754
{

0 commit comments

Comments
 (0)