From b59de8586eb5f51757f9afb8f1ad2336418af380 Mon Sep 17 00:00:00 2001
From: Robert Lange <robert.lange@uni-leipzig.de>
Date: Tue, 21 Dec 2021 16:05:55 +0100
Subject: [PATCH] refs #21064 [fid] final codefixer for Service

* $HOME/bin/codestylechecker/php-cs-fixer3 fix --config=$HOME/bin/codestylechecker/vufind.php-cs-fixer.php_cs module/fid/src/Service/
---
 module/fid/src/Service/Client.php                    | 12 ++++++------
 .../fid/src/Service/DataTransferObject/Address.php   | 12 ++++++------
 module/fid/src/Service/DataTransferObject/Order.php  | 10 +++++-----
 module/fid/src/Service/DataTransferObject/User.php   |  6 +++---
 4 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/module/fid/src/Service/Client.php b/module/fid/src/Service/Client.php
index 4541acca9ec..0cafa080f93 100644
--- a/module/fid/src/Service/Client.php
+++ b/module/fid/src/Service/Client.php
@@ -132,7 +132,7 @@ class Client
     {
         $this->locale = $locale;
     }
-    
+
     /**
      * Get if user is logged in
      *
@@ -275,7 +275,7 @@ class Client
 
         return $result;
     }
-    
+
     /**
      * Get record by id
      *
@@ -646,7 +646,7 @@ class Client
 
         return $this->session['users'] = array_combine($keys, $list);
     }
-    
+
     /**
      * Empty user list from session
      *
@@ -903,7 +903,7 @@ class Client
             throw new ClientException(self::ERRMSG_HTTPCLIENT, 0, $exception);
         }
     }
-    
+
     /**
      * Build request object
      *
@@ -981,7 +981,7 @@ class Client
         $this->cookies->set('finc_fid_logon', null);
         throw new ClientException('Missing or expired logon.', 401);
     }
-    
+
     /**
      * Store logon
      *
@@ -997,7 +997,7 @@ class Client
         $logon->setToken($token);
         return $logon;
     }
-    
+
     /**
      * Parse logon
      *
diff --git a/module/fid/src/Service/DataTransferObject/Address.php b/module/fid/src/Service/DataTransferObject/Address.php
index ada00f14302..de9a6ca6883 100644
--- a/module/fid/src/Service/DataTransferObject/Address.php
+++ b/module/fid/src/Service/DataTransferObject/Address.php
@@ -135,7 +135,7 @@ class Address
     {
         return $this->id;
     }
-    
+
     /**
      * Get address identifier
      *
@@ -147,7 +147,7 @@ class Address
     {
         $this->id = $id;
     }
-    
+
     /**
      * Set user
      *
@@ -159,7 +159,7 @@ class Address
     {
         $this->user = $user;
     }
-    
+
     /**
      * Get user
      *
@@ -169,7 +169,7 @@ class Address
     {
         return $this->user;
     }
-    
+
     /**
      * Get first line
      *
@@ -279,7 +279,7 @@ class Address
     {
         $this->country = $country;
     }
-    
+
     /**
      * Represent object as a string
      *
@@ -291,7 +291,7 @@ class Address
             . $this->line2 . '; ' . $this->zip . ' '
             . $this->city . '; ' . $this->country;
     }
-    
+
     /**
      * Check if line1, zip and city is set
      *
diff --git a/module/fid/src/Service/DataTransferObject/Order.php b/module/fid/src/Service/DataTransferObject/Order.php
index a15daf68bff..a93da5a43fb 100644
--- a/module/fid/src/Service/DataTransferObject/Order.php
+++ b/module/fid/src/Service/DataTransferObject/Order.php
@@ -269,7 +269,7 @@ class Order
     {
         $this->createdAt = $createdAt;
     }
-    
+
     /**
      * Get order label
      *
@@ -279,7 +279,7 @@ class Order
     {
         return $this->getLabel();
     }
-    
+
     /**
      * Get due date
      *
@@ -308,7 +308,7 @@ class Order
         $data['dueDate'] = $date->format(self::DATETIME_FORMAT);
         $this->setData($data);
     }
-    
+
     /**
      * Get due date as string d.m.Y.
      *
@@ -318,7 +318,7 @@ class Order
     {
         return $this->getDueDate() ? $this->getDueDate()->format('d.m.Y') : '';
     }
-    
+
     /**
      * Check due date
      *
@@ -357,7 +357,7 @@ class Order
             $this->data['status'] = $status;
         }
     }
-    
+
     /**
      * Get record identifier
      *
diff --git a/module/fid/src/Service/DataTransferObject/User.php b/module/fid/src/Service/DataTransferObject/User.php
index 40c861a7b5a..b7ef437c664 100644
--- a/module/fid/src/Service/DataTransferObject/User.php
+++ b/module/fid/src/Service/DataTransferObject/User.php
@@ -642,7 +642,7 @@ class User
     {
         $this->permissions = $permissions;
     }
-    
+
     /**
      * Check is user has given permission
      *
@@ -691,7 +691,7 @@ class User
     {
         return 'FID' . str_pad($this->getId(), 10, "0", STR_PAD_LEFT);
     }
-    
+
     /**
      * Get all properties except password
      *
@@ -708,7 +708,7 @@ class User
         }
         return $fields;
     }
-    
+
     /**
      * Export user data as string
      *
-- 
GitLab