Skip to content

Commit

Permalink
Merge pull request iliaal#220 from xperseguers/feature/219-streamline…
Browse files Browse the repository at this point in the history
…-phpdoc

Feature/219 streamline phpdoc
  • Loading branch information
iliaal authored Nov 24, 2017
2 parents bc7c715 + 4692440 commit 6e06f9e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions docs/ExcelAutoFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ExcelAutoFilter
* @param ExcelSheet $sheet
* @return ExcelAutoFilter
*/
public function __construct($sheet)
public function __construct(ExcelSheet $sheet)
{
} // __construct

Expand All @@ -42,7 +42,7 @@ public function getRef()
* @param int $col_last 0-based (optional, default = 0)
* @return void
*/
public function setRef($row_first=0, $row_last=0, $col_first=0, $col_last=0)
public function setRef($row_first = 0, $row_last = 0, $col_first = 0, $col_last = 0)
{
} // setRef

Expand Down
6 changes: 3 additions & 3 deletions docs/ExcelFilterColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class ExcelFilterColumn
* @param ExcelAutoFilter $autoFilter
* @return ExcelFilterColumn
*/
public function __construct($autoFilter)
public function __construct(ExcelAutoFilter $autoFilter)
{
} // __construct

Expand Down Expand Up @@ -104,7 +104,7 @@ public function getTop10()
* @param bool $percent - using percent instead of number items. (optional, default = false)
* @return bool
*/
public function setTop10($value, $top=true, $percent=false)
public function setTop10($value, $top = true, $percent = false)
{
} // setTop10

Expand All @@ -127,7 +127,7 @@ public function getCustomFilter()
* @param bool $andOp - flag indicating whether the two criterias have an "and" relationship. True indicates "and", false indicates "or". (optional, default = false)
* @return void
*/
public function setCustomFilter($op1, $v1, $op2=-1, $v2=null, $andOp=false)
public function setCustomFilter($op1, $v1, $op2 = -1, $v2 = null, $andOp = false)
{
} // setCustomFilter

Expand Down
2 changes: 1 addition & 1 deletion docs/ExcelFont.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ExcelFont
* @param ExcelBook $book
* @return ExcelFont
*/
public function __construct($book)
public function __construct(ExcelBook $book)
{
} // __construct

Expand Down
8 changes: 4 additions & 4 deletions docs/ExcelSheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ public function setColWidth($column_start, $column_end, $width, $hidden = false,
* @param int $column_end 0-based column number
* @return bool
*/
public function setAutofitArea($row_start=0, $row_end=-1, $column_start=0, $column_end=-1)
public function setAutofitArea($row_start = 0, $row_end = -1, $column_start = 0, $column_end = -1)
{
} // setAutofitArea

Expand Down Expand Up @@ -1447,7 +1447,7 @@ public function printRepeatRows()
* @param int ExcelSheet::PROT_ALL (optional, default=ExcelSheet::PROT_DEFAULT)
* @return void
*/
public function setProtect($value, $password="", $enhancedProtection=ExcelSheet::PROT_DEFAULT)
public function setProtect($value, $password = '', $enhancedProtection = ExcelSheet::PROT_DEFAULT)
{
} // setProtect

Expand Down Expand Up @@ -1560,7 +1560,7 @@ public function splitSheet($row, $column)
* @param int $index (optional, default = 0)
* @return array with keys "name"(string), "row_first"(int), "col_first"(int), "row_last"(int), "col_last"(int), "header_row_count"(int) and "totals_row_count"(int)
*/
public function table($index=0)
public function table($index = 0)
{
} // table

Expand Down Expand Up @@ -1648,7 +1648,7 @@ public function writeComment($row, $column, $comment, $author, $width, $height)
* @param ExcelFormat $format (optional, default = null)
* @return bool
*/
public function writeError($row=0, $col=0, $error=0, $format=null)
public function writeError($row = 0, $col = 0, $error = 0, $format = null)
{
} // writeError

Expand Down

0 comments on commit 6e06f9e

Please sign in to comment.