Skip to content

Commit

Permalink
Update CS
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <crynobone@gmail.com>
  • Loading branch information
crynobone committed Jul 10, 2016
1 parent 132406f commit 0619f76
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 32 deletions.
4 changes: 4 additions & 0 deletions .php_cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,20 @@ return Symfony\CS\Config\Config::create()
'phpdoc_no_access',
'-phpdoc_no_empty_return',
'phpdoc_no_package',
'phpdoc_order',
'-phpdoc_params',
'phpdoc_scalar',
'phpdoc_separation',
'phpdoc_short_description',
'phpdoc_to_comment',
'phpdoc_trim',
'phpdoc_type_to_var',
'phpdoc_types',
'phpdoc_var_without_name',
'print_to_echo',
'remove_leading_slash_use',
'remove_lines_between_uses',
'self_accessor',
'short_array_syntax',
'single_array_no_trailing_comma',
'single_blank_line_before_namespace',
Expand Down
4 changes: 2 additions & 2 deletions src/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ public function __call($method, array $parameters)
*
* @param string $key
*
* @return mixed
*
* @throws \InvalidArgumentException
*
* @return mixed
*/
public function __get($key)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Form/Control.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,9 @@ protected function getOptionList($row, Fluent $control)
* @param array $templates
* @param \Illuminate\Support\Fluent $field
*
* @return string
*
* @throws \InvalidArgumentException
*
* @return string
*/
public function render($templates, Fluent $field)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Form/Fieldset.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ public function control($type, $name, $callback = null)
*
* @param string $name
*
* @return \Illuminate\Support\Fluent
*
* @throws \InvalidArgumentException
*
* @return \Illuminate\Support\Fluent
*/
public function find($name)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Form/Grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,9 @@ public function fieldset($name, Closure $callback = null)
*
* @param string $name
*
* @return \Orchestra\Html\Form\Field|null
*
* @throws \InvalidArgumentException
*
* @return \Orchestra\Html\Form\Field|null
*/
public function find($name)
{
Expand Down
24 changes: 12 additions & 12 deletions src/Grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ public function attributes($key = null, $value = null)
* @param string $name
* @param mixed|null $callback
*
* @return \Illuminate\Support\Fluent
*
* @throws \InvalidArgumentException
* @throws \RuntimeException
*
* @return \Illuminate\Support\Fluent
*/
public function of($name, $callback = null)
{
Expand Down Expand Up @@ -176,9 +176,9 @@ public function set($key, $value)
*
* @param string $name
*
* @return mixed
*
* @throws \InvalidArgumentException
*
* @return mixed
*/
abstract public function find($name);

Expand Down Expand Up @@ -215,9 +215,9 @@ protected function buildFluentAttributes($name, $callback = null)
* @param string $method
* @param array $parameters
*
* @return mixed
*
* @throws \InvalidArgumentException
*
* @return mixed
*/
public function __call($method, array $parameters)
{
Expand All @@ -235,9 +235,9 @@ public function __call($method, array $parameters)
*
* @param string $key
*
* @return mixed
*
* @throws \InvalidArgumentException
*
* @return mixed
*/
public function __get($key)
{
Expand All @@ -254,9 +254,9 @@ public function __get($key)
* @param string $key
* @param array $parameters
*
* @return void
*
* @throws \InvalidArgumentException
*
* @return void
*/
public function __set($key, $parameters)
{
Expand All @@ -281,9 +281,9 @@ public function __set($key, $parameters)
*
* @param string $key
*
* @return bool
*
* @throws \InvalidArgumentException
*
* @return bool
*/
public function __isset($key)
{
Expand Down
24 changes: 12 additions & 12 deletions src/Table/Grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ public function layout($name, array $data = [])
* @param mixed $model
* @param bool $paginate
*
* @return $this
*
* @throws \InvalidArgumentException
*
* @return $this
*/
public function with($model, $paginate = true)
{
Expand Down Expand Up @@ -184,9 +184,9 @@ public function paginated()
*
* @param array $data
*
* @return $this
*
* @throws \InvalidArgumentException
*
* @return $this
*/
public function rows($data)
{
Expand All @@ -202,9 +202,9 @@ public function rows($data)
/**
* Get raw data.
*
* @return array
*
* @throws \InvalidArgumentException
*
* @return array
*/
public function data()
{
Expand Down Expand Up @@ -277,9 +277,9 @@ public function column($name, $callback = null)
*
* @param string $name
*
* @return \Orchestra\Contracts\Html\Table\Column
*
* @throws \InvalidArgumentException
*
* @return \Orchestra\Contracts\Html\Table\Column
*/
public function find($name)
{
Expand Down Expand Up @@ -433,9 +433,9 @@ protected function buildModel($model)
*
* @param object $model
*
* @return void
*
* @throws \InvalidArgumentException
*
* @return void
*/
protected function buildRowsFromModel($model)
{
Expand Down Expand Up @@ -472,9 +472,9 @@ protected function setRowsData(array $data = [])
*
* @param mixed $model
*
* @return \Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Query\Builder
*
* @throws \InvalidArgumentException
*
* @return \Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Query\Builder
*/
protected function resolveQueryBuilderFromModel($model)
{
Expand Down

0 comments on commit 0619f76

Please sign in to comment.