Skip to content
Snippets Groups Projects
Commit 6dd942b5 authored by Demian Katz's avatar Demian Katz
Browse files

php-cs-fixer

parent 82216d3a
No related merge requests found
......@@ -69,7 +69,7 @@ class Factory
{
$config = $sm->getServiceLocator()->get('VuFind\Config')->get('config');
$url = isset($config->Booksite->url)
? $config->Booksite->url : 'https://api.booksite.com';
? $config->Booksite->url : 'https://api.booksite.com';
if (!isset($config->Booksite->key)) {
throw new \Exception("Booksite 'key' not set in VuFind config");
}
......
......@@ -110,7 +110,7 @@ class Factory
{
$config = $sm->getServiceLocator()->get('VuFind\Config')->get('config');
$url = isset($config->Booksite->url)
? $config->Booksite->url : 'https://api.booksite.com';
? $config->Booksite->url : 'https://api.booksite.com';
if (!isset($config->Booksite->key)) {
throw new \Exception("Booksite 'key' not set in VuFind config");
}
......
......@@ -712,9 +712,9 @@ class Generator
$bc = str_split($bc);
for ($k = 0;$k < 4;$k++) {
$x = $k % 2 ? $halfWidth : $halfWidth - $boxWidth;
$x = $k % 2 ? $halfWidth : $halfWidth - $boxWidth;
$y = $k / 2 < 1 ? $halfHeight : $halfHeight - $boxHeight;
$u = $k % 2 ? $boxWidth : -$boxWidth;
$u = $k % 2 ? $boxWidth : -$boxWidth;
$v = $k / 2 < 1 ? $boxHeight : -$boxHeight;
for ($i = 0;$i < 16;$i++) {
if ($bc[$i] == "1") {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment