From 9d247c640ff6a89de955dfb6f2bbb015afc95e6f Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Thu, 19 Oct 2017 14:13:17 -0400 Subject: [PATCH] Style fixes. --- module/VuFind/src/VuFind/Content/Reviews/Booksite.php | 4 ++-- module/VuFind/src/VuFind/View/Helper/Root/GeoCoords.php | 2 +- .../VuFindTest/Backend/Solr/Response/Json/NamedListTest.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/module/VuFind/src/VuFind/Content/Reviews/Booksite.php b/module/VuFind/src/VuFind/Content/Reviews/Booksite.php index e4940712201..327814cbdf8 100644 --- a/module/VuFind/src/VuFind/Content/Reviews/Booksite.php +++ b/module/VuFind/src/VuFind/Content/Reviews/Booksite.php @@ -101,8 +101,8 @@ class BookSite extends \VuFind\Content\AbstractBase $i = 0; $json = json_decode($response->getBody()); foreach ($json as $source => $values) { - $reviews[$i]['Source' ] = $source; - $reviews[$i]['Date' ] = (string)$values->reviewDate; + $reviews[$i]['Source'] = $source; + $reviews[$i]['Date'] = (string)$values->reviewDate; $reviews[$i]['Content'] = (string)$values->reviewText; $i++; } diff --git a/module/VuFind/src/VuFind/View/Helper/Root/GeoCoords.php b/module/VuFind/src/VuFind/View/Helper/Root/GeoCoords.php index 6bc1741f1ca..0293ba513eb 100644 --- a/module/VuFind/src/VuFind/View/Helper/Root/GeoCoords.php +++ b/module/VuFind/src/VuFind/View/Helper/Root/GeoCoords.php @@ -48,7 +48,7 @@ class GeoCoords extends \Zend\View\Helper\AbstractHelper protected $enabled; /** - * Default coordinates + * Default coordinates * * @var string */ diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/NamedListTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/NamedListTest.php index 9c988ff0fa0..3240afa2106 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/NamedListTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/NamedListTest.php @@ -52,7 +52,7 @@ class NamedListTest extends TestCase $list = new NamedList([['first term', 'info'], ['second term', 'info']]); $keys = []; foreach ($list as $key => $value) { - $keys [] = $key; + $keys[] = $key; } $this->assertEquals(['first term', 'second term'], $keys); } -- GitLab