mirror of
https://github.com/Intervention/image.git
synced 2025-08-11 00:14:03 +02:00
fixed coding standards
This commit is contained in:
@@ -18,7 +18,7 @@ class CircleShape extends EllipseShape
|
||||
*
|
||||
* @param integer $radius
|
||||
*/
|
||||
function __construct($radius = null)
|
||||
public function __construct($radius = null)
|
||||
{
|
||||
$this->width = is_numeric($radius) ? intval($radius) : $this->radius;
|
||||
$this->height = is_numeric($radius) ? intval($radius) : $this->radius;
|
||||
|
@@ -27,7 +27,7 @@ class EllipseShape extends \Intervention\Image\AbstractShape
|
||||
* @param integer $width
|
||||
* @param integer $height
|
||||
*/
|
||||
function __construct($width = null, $height = null)
|
||||
public function __construct($width = null, $height = null)
|
||||
{
|
||||
$this->width = is_numeric($width) ? intval($width) : $this->width;
|
||||
$this->height = is_numeric($height) ? intval($height) : $this->height;
|
||||
|
@@ -41,7 +41,7 @@ class LineShape extends \Intervention\Image\AbstractShape
|
||||
* @param integer $x
|
||||
* @param integer $y
|
||||
*/
|
||||
function __construct($x = null, $y = null)
|
||||
public function __construct($x = null, $y = null)
|
||||
{
|
||||
$this->x = is_numeric($x) ? intval($x) : $this->x;
|
||||
$this->y = is_numeric($y) ? intval($y) : $this->y;
|
||||
|
@@ -43,7 +43,7 @@ class RectangleShape extends \Intervention\Image\AbstractShape
|
||||
* @param integer $x2
|
||||
* @param integer $y2
|
||||
*/
|
||||
function __construct($x1 = null, $y1 = null, $x2 = null, $y2 = null)
|
||||
public function __construct($x1 = null, $y1 = null, $x2 = null, $y2 = null)
|
||||
{
|
||||
$this->x1 = is_numeric($x1) ? intval($x1) : $this->x1;
|
||||
$this->y1 = is_numeric($y1) ? intval($y1) : $this->y1;
|
||||
|
@@ -3,8 +3,8 @@
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use Illuminate\Http\Response;
|
||||
|
||||
class ImageServiceProvider extends ServiceProvider {
|
||||
|
||||
class ImageServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Indicates if loading of the provider is deferred.
|
||||
*
|
||||
|
@@ -18,7 +18,7 @@ class CircleShape extends EllipseShape
|
||||
*
|
||||
* @param integer $radius
|
||||
*/
|
||||
function __construct($radius = null)
|
||||
public function __construct($radius = null)
|
||||
{
|
||||
$this->width = is_numeric($radius) ? intval($radius) : $this->radius;
|
||||
$this->height = is_numeric($radius) ? intval($radius) : $this->radius;
|
||||
|
@@ -27,7 +27,7 @@ class EllipseShape extends \Intervention\Image\AbstractShape
|
||||
* @param integer $width
|
||||
* @param integer $height
|
||||
*/
|
||||
function __construct($width = null, $height = null)
|
||||
public function __construct($width = null, $height = null)
|
||||
{
|
||||
$this->width = is_numeric($width) ? intval($width) : $this->width;
|
||||
$this->height = is_numeric($height) ? intval($height) : $this->height;
|
||||
|
@@ -41,7 +41,7 @@ class LineShape extends \Intervention\Image\AbstractShape
|
||||
* @param integer $x
|
||||
* @param integer $y
|
||||
*/
|
||||
function __construct($x = null, $y = null)
|
||||
public function __construct($x = null, $y = null)
|
||||
{
|
||||
$this->x = is_numeric($x) ? intval($x) : $this->x;
|
||||
$this->y = is_numeric($y) ? intval($y) : $this->y;
|
||||
|
@@ -43,7 +43,7 @@ class RectangleShape extends \Intervention\Image\AbstractShape
|
||||
* @param integer $x2
|
||||
* @param integer $y2
|
||||
*/
|
||||
function __construct($x1 = null, $y1 = null, $x2 = null, $y2 = null)
|
||||
public function __construct($x1 = null, $y1 = null, $x2 = null, $y2 = null)
|
||||
{
|
||||
$this->x1 = is_numeric($x1) ? intval($x1) : $this->x1;
|
||||
$this->y1 = is_numeric($y1) ? intval($y1) : $this->y1;
|
||||
|
Reference in New Issue
Block a user