Skip to content
Browse files

Fixing coding styles.

  • Loading branch information...
1 parent 3d6c9b4 commit 8106318d7a1501b17ffa5a4589413a973e2529c2 @markstory markstory committed
Showing with 3 additions and 2 deletions.
  1. +1 −0 src/View/Form/EntityContext.php
  2. +2 −2 tests/TestCase/View/Form/EntityContextTest.php
View
1 src/View/Form/EntityContext.php
@@ -155,6 +155,7 @@ public function val($field) {
*
* @param array $path The path to traverse to find the leaf entity.
* @return array
+ * @throws \RuntimeException When properties cannot be read.
*/
protected function _getEntity($path) {
$entity = $this->_context['entity'];
View
4 tests/TestCase/View/Form/EntityContextTest.php
@@ -14,6 +14,8 @@
*/
namespace Cake\Test\TestCase\View\Form;
+use ArrayIterator;
+use ArrayObject;
use Cake\Collection\Collection;
use Cake\Network\Request;
use Cake\ORM\Entity;
@@ -22,8 +24,6 @@
use Cake\TestSuite\TestCase;
use Cake\Validation\Validator;
use Cake\View\Form\EntityContext;
-use ArrayIterator;
-use ArrayObject;
/**
* Test stub.

0 comments on commit 8106318

Please sign in to comment.
Something went wrong with that request. Please try again.