Skip to content

Commit

Permalink
🚨 Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jenssegers committed Nov 9, 2019
1 parent 55a2e26 commit 096bb7b
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 12 deletions.
3 changes: 0 additions & 3 deletions src/ImageHash.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ public function __construct(

/**
* Calculate a perceptual hash of an image.
*
* @param mixed $image
* @return Hash
*/
Expand All @@ -44,7 +43,6 @@ public function hash($image)

/**
* Compare 2 images and get the hamming distance.
*
* @param mixed $resource1
* @param mixed $resource2
* @return int
Expand All @@ -59,7 +57,6 @@ public function compare($resource1, $resource2)

/**
* Calculate the Hamming Distance between 2 hashes.
*
* @param Hash $hash1
* @param Hash $hash2
* @return int
Expand Down
1 change: 0 additions & 1 deletion src/Implementation.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ interface Implementation
{
/**
* Calculate the hash for the given image.
*
* @param Image $image
* @return Hash
*/
Expand Down
1 change: 0 additions & 1 deletion src/Implementations/BlockHash.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ protected function blocksToBits(array $blocks, $pixelsPerBlock)

/**
* Get the median of the pixel values.
*
* @param array $pixels
* @return float
*/
Expand Down
2 changes: 0 additions & 2 deletions src/Implementations/PerceptualHash.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ public function hash(Image $image)

/**
* Perform a 1 dimension Discrete Cosine Transformation.
*
* @param array $matrix
* @return array
*/
Expand All @@ -120,7 +119,6 @@ protected function calculateDCT(array $matrix)

/**
* Get the median of the pixel values.
*
* @param array $pixels
* @return float
*/
Expand Down
5 changes: 0 additions & 5 deletions tests/ImplementationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@

class ImplementationTest extends TestCase
{
/**
* @var Implementation[]
*/
private $implementations;

/**
* @var int
*/
Expand Down

0 comments on commit 096bb7b

Please sign in to comment.