Skip to content

Commit 41e118b

Browse files
committed
Remove comments in prepration for PR
1 parent ff0581b commit 41e118b

File tree

1 file changed

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

1 file changed

+0
-3
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ public function setData($data, $cycleCheck = false, $options = [])
6969
return $this->setArrayData($data);
7070
}
7171

72-
//Should we validate the json here?
7372
if (is_string($data)) {
7473
return $this->setJsonData($data);
7574
}
@@ -80,8 +79,6 @@ public function setData($data, $cycleCheck = false, $options = [])
8079
}
8180

8281
/**
83-
* Should cover this with a test or 2
84-
*
8582
* @param array $data
8683
* @return $this
8784
* @throws \InvalidArgumentException

0 commit comments

Comments
 (0)