diff --git a/src/Mapper.php b/src/Mapper.php index 6b803f0..a902432 100644 --- a/src/Mapper.php +++ b/src/Mapper.php @@ -54,9 +54,9 @@ class Mapper /** * Mapper constructor. * - * @param $config - * @param $feed - * @param $log + * @param Config $config + * @param array $feed + * @param Log $log */ public function __construct($config, $feed, $log) { diff --git a/tests/Collection/CommentCollectionTest.php b/tests/Collection/CommentCollectionTest.php index 643e42d..d5f5695 100644 --- a/tests/Collection/CommentCollectionTest.php +++ b/tests/Collection/CommentCollectionTest.php @@ -43,4 +43,4 @@ public function testGetMergedCommentsByUserId() $mergedComments = $comments->getMergedCommentsByUserId(1); $this->assertEquals(1, sizeof($mergedComments)); } -} \ No newline at end of file +} diff --git a/tests/Collection/UserCollectionTest.php b/tests/Collection/UserCollectionTest.php index 1412f77..22b7a2e 100644 --- a/tests/Collection/UserCollectionTest.php +++ b/tests/Collection/UserCollectionTest.php @@ -53,4 +53,4 @@ public function testGetTopUsers() $users->get(2) ], $users->getTopUsers(3, $config->get('ignored_users'))); } -} \ No newline at end of file +} diff --git a/tests/CollectionTest.php b/tests/CollectionTest.php index 7bc78b3..a69722f 100644 --- a/tests/CollectionTest.php +++ b/tests/CollectionTest.php @@ -116,4 +116,4 @@ public function testNext() $this->assertEquals($objects[0], $collection->next()); $this->assertEquals($objects[1], $collection->next()); } -} \ No newline at end of file +} diff --git a/tests/LogTest.php b/tests/LogTest.php index 863ffd8..bb732f2 100644 --- a/tests/LogTest.php +++ b/tests/LogTest.php @@ -6,7 +6,6 @@ use org\bovigo\vfs\vfsStreamWrapper; use PHPWorldWide\Stats\Log; - class LogTest extends \PHPUnit_Framework_TestCase { private $log; @@ -68,4 +67,4 @@ public function testClearLogs() $this->assertFalse($this->root->hasChild('20160516000000')); $this->assertFalse($this->root->hasChild('20160516000001')); } -} \ No newline at end of file +} diff --git a/tests/PointsTest.php b/tests/PointsTest.php index 41663e3..9465bfa 100644 --- a/tests/PointsTest.php +++ b/tests/PointsTest.php @@ -132,4 +132,4 @@ public function offensiveWordsProvider() ['Lorem ipsum dolor sit amet go To HelL yes', -20], ]; } -} \ No newline at end of file +}