Browse Source

Fixed Table phpdoc example [skip ci]

tags/2.0.13
Alexander Makarov 7 years ago committed by GitHub
parent
commit
1c23e6dea8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      framework/console/widgets/Table.php

4
framework/console/widgets/Table.php

@ -32,13 +32,13 @@ use yii\helpers\Console;
* or * or
* *
* ```php * ```php
* echo Table::widget( * echo Table::widget([
* 'headers' => ['test1', 'test2', 'test3'], * 'headers' => ['test1', 'test2', 'test3'],
* 'rows' => [ * 'rows' => [
* ['col1', 'col2', 'col3'], * ['col1', 'col2', 'col3'],
* ['col1', 'col2', ['col3-0', 'col3-1', 'col3-2']], * ['col1', 'col2', ['col3-0', 'col3-1', 'col3-2']],
* ], * ],
* ); * ]);
* *
* @author Daniel Gomez Pan <pana_1990@hotmail.com> * @author Daniel Gomez Pan <pana_1990@hotmail.com>
* @since 2.0.13 * @since 2.0.13

Loading…
Cancel
Save