| @@ -232,7 +232,7 @@ | ||
| 232 | 232 | * Rendering table | 
| 233 | 233 | * | 
| 234 | 234 | * @param string $type (html | dataTableAjaxInit | dataTableJson) | 
| 235 | - * @param null $template | |
| 235 | + * @param string $template | |
| 236 | 236 | * @throws Exception\InvalidArgumentException | 
| 237 | 237 | * @return string | 
| 238 | 238 | */ | 
| @@ -13,7 +13,6 @@ | ||
| 13 | 13 | use ZfTable\Params\AdapterArrayObject; | 
| 14 | 14 | use ZfTable\Table\Exception; | 
| 15 | 15 | use ZfTable\Options\ModuleOptions; | 
| 16 | - | |
| 17 | 16 | use ZfTable\Form\TableForm; | 
| 18 | 17 | use ZfTable\Form\TableFilter; | 
| 19 | 18 | |
| @@ -506,6 +506,9 @@ | ||
| 506 | 506 | } | 
| 507 | 507 | |
| 508 | 508 | |
| 509 | + /** | |
| 510 | + * @param string $html | |
| 511 | + */ | |
| 509 | 512 | public function htmlResponse($html) | 
| 510 | 513 |      { | 
| 511 | 514 | $response = $this->getResponse(); | 
| @@ -14,7 +14,6 @@ | ||
| 14 | 14 | use Zend\Db\ResultSet\ResultSet; | 
| 15 | 15 | use ZfTable\Params\AdapterDataTables; | 
| 16 | 16 | use ZfTable\Options\ModuleOptions; | 
| 17 | -use ZfTable\AbstractTable; | |
| 18 | 17 | use Doctrine\ORM\EntityManager; | 
| 19 | 18 | |
| 20 | 19 | class TableController extends AbstractActionController | 
| @@ -3,8 +3,6 @@ | ||
| 3 | 3 | namespace ZfTable\Entity; | 
| 4 | 4 | |
| 5 | 5 | use Doctrine\ORM\Mapping as ORM; | 
| 6 | -use Zend\InputFilter\InputFilter; | |
| 7 | -use Zend\InputFilter\Factory as InputFactory; | |
| 8 | 6 | use Zend\InputFilter\InputFilterAwareInterface; | 
| 9 | 7 | use Zend\InputFilter\InputFilterInterface; | 
| 10 | 8 | |
| @@ -9,7 +9,6 @@ | ||
| 9 | 9 | namespace ZfTable\Example\Model; | 
| 10 | 10 | |
| 11 | 11 | use Zend\InputFilter\InputFilter; | 
| 12 | -use Zend\InputFilter\Factory as InputFactory; | |
| 13 | 12 | use Zend\InputFilter\InputFilterAwareInterface; | 
| 14 | 13 | use Zend\InputFilter\InputFilterInterface; | 
| 15 | 14 | |
| @@ -306,7 +306,7 @@ | ||
| 306 | 306 | /** | 
| 307 | 307 | * Set reference to table | 
| 308 | 308 | * | 
| 309 | - * @param $table | |
| 309 | + * @param AbstractTable $table | |
| 310 | 310 | * @return void|\ZfTable\AbstractCommon | 
| 311 | 311 | */ | 
| 312 | 312 | public function setTable($table) | 
| @@ -63,6 +63,9 @@ | ||
| 63 | 63 | const DEFAULT_ITEM_COUNT_PER_PAGE = 2; | 
| 64 | 64 | |
| 65 | 65 | |
| 66 | + /** | |
| 67 | + * @param \Zend\Stdlib\Parameters $object | |
| 68 | + */ | |
| 66 | 69 | public function __construct($object) | 
| 67 | 70 |      { | 
| 68 | 71 |          if ($object instanceof \ArrayObject) { | 
| @@ -3,8 +3,6 @@ | ||
| 3 | 3 | namespace ZfTable\Entity; | 
| 4 | 4 | |
| 5 | 5 | use Doctrine\ORM\Mapping as ORM; | 
| 6 | -use Zend\InputFilter\InputFilter; | |
| 7 | -use Zend\InputFilter\Factory as InputFactory; | |
| 8 | 6 | use Zend\InputFilter\InputFilterAwareInterface; | 
| 9 | 7 | use Zend\InputFilter\InputFilterInterface; | 
| 10 | 8 | |