Skip to content

Commit

Permalink
Cleanup coding stye violations.
Browse files Browse the repository at this point in the history
  • Loading branch information
kiall committed Feb 16, 2012
1 parent f0bc889 commit f94e3c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion classes/Image/Imagick.php
@@ -1,3 +1,3 @@
<?php defined('SYSPATH') or die('No direct script access.');
<?php defined('SYSPATH') OR die('No direct script access.');

class Image_Imagick extends Kohana_Image_Imagick {}
8 changes: 4 additions & 4 deletions classes/Kohana/Image/Imagick.php
@@ -1,4 +1,4 @@
<?php defined('SYSPATH') or die('No direct script access.');
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Support for image manipulation using [Imagick](http://php.net/Imagick).
*
Expand Down Expand Up @@ -130,7 +130,7 @@ protected function _do_flip($direction)

protected function _do_sharpen($amount)
{
//IM not support $amount under 5 (0.15)
// IM not support $amount under 5 (0.15)
$amount = ($amount < 5) ? 5 : $amount;

// Amount should be in the range of 0.0 to 3.0
Expand Down Expand Up @@ -302,8 +302,8 @@ protected function _do_render($type, $quality)
/**
* Get the image type and format for an extension.
*
* @param string image extension: png, jpg, etc
* @return string IMAGETYPE_* constant
* @param string $extension image extension: png, jpg, etc
* @return string IMAGETYPE_* constant
* @throws Kohana_Exception
*/
protected function _get_imagetype($extension)
Expand Down

0 comments on commit f94e3c1

Please sign in to comment.