Clean up and docs
This commit is contained in:
parent
aef387bab3
commit
2ec9b2254b
3 changed files with 3 additions and 5 deletions
|
|
@ -79,7 +79,7 @@ class ArrayObject extends \ArrayObject
|
|||
* @param string $valueOptions
|
||||
* @param string $null
|
||||
*
|
||||
* @return string
|
||||
* @return string The html for the table
|
||||
*/
|
||||
public function toTable(
|
||||
$transpose = false,
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
use adeattwood\helpers\ArrayObject;
|
||||
|
||||
|
||||
class ArrayObjectCest
|
||||
{
|
||||
public $arrayObject;
|
||||
|
|
@ -44,7 +43,6 @@ class ArrayObjectCest
|
|||
*/
|
||||
public function testToTable( UnitTester $I )
|
||||
{
|
||||
require __DIR__ . "/../../vendor/yiisoft/yii2/Yii.php";
|
||||
$table = $this->arrayObject->toTable();
|
||||
|
||||
$I->assertContains( '<table class="table table-bordered table-striped">', $table );
|
||||
|
|
|
|||
Loading…
Reference in a new issue