diff --git a/src/Http/RedirectBinding.php b/src/Http/RedirectBinding.php
index <HASH>..<HASH> 100644
--- a/src/Http/RedirectBinding.php
+++ b/src/Http/RedirectBinding.php
@@ -37,11 +37,6 @@ use XMLSecurityKey;
 class RedirectBinding
 {
     /**
-     * @var \Surfnet\SamlBundle\Entity\ServiceProviderRepository
-     */
-    private $entityRepository;
-
-    /**
      * @var \Psr\Log\LoggerInterface
      */
     private $logger;
@@ -51,14 +46,19 @@ class RedirectBinding
      */
     private $signatureVerifier;
 
+    /**
+     * @var \Surfnet\SamlBundle\Entity\ServiceProviderRepository
+     */
+    private $entityRepository;
+
     public function __construct(
         LoggerInterface $logger,
         SignatureVerifier $signatureVerifier,
         ServiceProviderRepository $repository = null
     ) {
-        $this->entityRepository = $repository;
         $this->logger = $logger;
         $this->signatureVerifier = $signatureVerifier;
+        $this->entityRepository = $repository;
     }
 
     /**
Minor reordering of private and assignments