Skip to content

Commit

Permalink
Fixed PHPDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
halfpastfouram authored and Bob Kruithof committed Sep 2, 2018
1 parent 95a7a77 commit 2853aae
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 28 deletions.
17 changes: 9 additions & 8 deletions src/DataSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

/**
* Class DataSet
*
* @package Halfpastfour\PHPChartJS
*/
class DataSet implements ChartOwnedInterface, ArraySerializableInterface, \JsonSerializable
Expand Down Expand Up @@ -168,15 +169,15 @@ public function setYAxisID($yAxisID)
}

/**
* @return string|\string[]
* @return string|string[]
*/
public function getBackgroundColor()
{
return $this->backgroundColor;
}

/**
* @param string|\string[] $backgroundColor
* @param string|string[] $backgroundColor
*
* @return $this
*/
Expand All @@ -195,15 +196,15 @@ public function setBackgroundColor($backgroundColor)
}

/**
* @return string|\string[]
* @return string|string[]
*/
public function getBorderColor()
{
return $this->borderColor;
}

/**
* @param string|\string[] $borderColor
* @param string|string[] $borderColor
*
* @return $this
*/
Expand Down Expand Up @@ -269,15 +270,15 @@ public function setBorderSkipped($borderSkipped)
}

/**
* @return string|\string[]
* @return string|string[]
*/
public function getHoverBackgroundColor()
{
return $this->hoverBackgroundColor;
}

/**
* @param string|\string[] $hoverBackgroundColor
* @param string|string[] $hoverBackgroundColor
*
* @return $this
*/
Expand All @@ -296,15 +297,15 @@ public function setHoverBackgroundColor($hoverBackgroundColor)
}

/**
* @return string|\string[]
* @return string|string[]
*/
public function getHoverBorderColor()
{
return $this->hoverBorderColor;
}

/**
* @param string|\string[] $hoverBorderColor
* @param string|string[] $hoverBorderColor
*
* @return $this
*/
Expand Down
16 changes: 8 additions & 8 deletions src/DataSet/LineDataSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,15 +251,15 @@ public function setBorderJoinStyle($borderJoinStyle)
}

/**
* @return string|\string[]
* @return string|string[]
*/
public function getPointBorderColor()
{
return $this->pointBorderColor;
}

/**
* @param string|\string[] $pointBorderColor
* @param string|string[] $pointBorderColor
*
* @return $this
*/
Expand All @@ -271,15 +271,15 @@ public function setPointBorderColor($pointBorderColor)
}

/**
* @return string|\string[]
* @return string|string[]
*/
public function getPointBackgroundColor()
{
return $this->pointBackgroundColor;
}

/**
* @param string|\string[] $pointBackgroundColor
* @param string|string[] $pointBackgroundColor
*
* @return $this
*/
Expand Down Expand Up @@ -371,15 +371,15 @@ public function setPointHitRadius($pointHitRadius)
}

/**
* @return string|\string[]
* @return string|string[]
*/
public function getPointHoverBackgroundColor()
{
return $this->pointHoverBackgroundColor;
}

/**
* @param string|\string[] $pointHoverBackgroundColor
* @param string|string[] $pointHoverBackgroundColor
*
* @return $this
*/
Expand All @@ -391,15 +391,15 @@ public function setPointHoverBackgroundColor($pointHoverBackgroundColor)
}

/**
* @return string|\string[]
* @return string|string[]
*/
public function getPointHoverBorderColor()
{
return $this->pointHoverBorderColor;
}

/**
* @param string|\string[] $pointHoverBorderColor
* @param string|string[] $pointHoverBorderColor
*
* @return $this
*/
Expand Down
20 changes: 10 additions & 10 deletions src/DataSet/RadarDataSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,15 +211,15 @@ public function setBorderJoinStyle($borderJoinStyle)
}

/**
* @return string|\string[]
* @return string|string[]
*/
public function getPointBorderColor()
{
return $this->pointBorderColor;
}

/**
* @param string|\string[] $pointBorderColor
* @param string|string[] $pointBorderColor
*
* @return $this
*/
Expand All @@ -231,15 +231,15 @@ public function setPointBorderColor($pointBorderColor)
}

/**
* @return string|\string[]
* @return string|string[]
*/
public function getPointBackgroundColor()
{
return $this->pointBackgroundColor;
}

/**
* @param string|\string[] $pointBackgroundColor
* @param string|string[] $pointBackgroundColor
*
* @return $this
*/
Expand Down Expand Up @@ -331,15 +331,15 @@ public function setHitRadius($hitRadius)
}

/**
* @return string|\string[]
* @return string|string[]
*/
public function getPointHoverBackgroundColor()
{
return $this->pointHoverBackgroundColor;
}

/**
* @param string|\string[] $pointHoverBackgroundColor
* @param string|string[] $pointHoverBackgroundColor
*
* @return $this
*/
Expand All @@ -351,15 +351,15 @@ public function setPointHoverBackgroundColor($pointHoverBackgroundColor)
}

/**
* @return string|\string[]
* @return string|string[]
*/
public function getPointHoverBorderColor()
{
return $this->pointHoverBorderColor;
}

/**
* @param string|\string[] $pointHoverBorderColor
* @param string|string[] $pointHoverBorderColor
*
* @return $this
*/
Expand Down Expand Up @@ -391,15 +391,15 @@ public function setPointHoverBorderWidth($pointHoverBorderWidth)
}

/**
* @return string|\string[]
* @return string|string[]
*/
public function getPointStyle()
{
return $this->pointStyle;
}

/**
* @param string|\string[] $pointStyle
* @param string|string[] $pointStyle
*
* @return $this
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Options/Scales/GridLines.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@ public function setDisplay($display)
}

/**
* @return string|\string[]
* @return string|string[]
*/
public function getColor()
{
return $this->color;
}

/**
* @param string|\string[] $color
* @param string|string[] $color
*
* @return $this
*/
Expand Down

0 comments on commit 2853aae

Please sign in to comment.