Passed
Pull Request — master (#99)
by Ralf
03:46
created
Classes/Domain/Repository/DocumentRepository.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
         $result = $query->execute();
32 32
 
33
-        $objectIdentifiers = array();
33
+        $objectIdentifiers = array ();
34 34
 
35 35
         foreach ($result as $document) {
36 36
             $objectIdentifiers[$document->getObjectIdentifier()] = $document->getObjectIdentifier();
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 
50 50
         $query = $this->createQuery();
51 51
 
52
-        $constraints = array(
52
+        $constraints = array (
53 53
                 $query->equals('object_identifier', ''),
54 54
                 $query->equals('changed', false));
55 55
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 
60 60
         // order by start_date -> start_time...
61 61
         $query->setOrderings(
62
-            array('transfer_date' => \TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_ASCENDING)
62
+            array ('transfer_date' => \TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_ASCENDING)
63 63
         );
64 64
 
65 65
         return $query->execute();
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
         $query = $this->createQuery();
77 77
         
78
-        $constraints = array(
78
+        $constraints = array (
79 79
                 $query->like('object_identifier', 'qucosa%'),
80 80
                 $query->equals('changed', true));
81 81
 
@@ -98,9 +98,9 @@  discard block
 block discarded – undo
98 98
         $query = $this->createQuery();
99 99
         $query->getQuerySettings()->setRespectStoragePage(FALSE);
100 100
 
101
-        $constraints = array();
102
-        $constraints[] =  $query->equals('process_number', '');
103
-        $constraints[] =  $query->equals('process_number', NULL);
101
+        $constraints = array ();
102
+        $constraints[] = $query->equals('process_number', '');
103
+        $constraints[] = $query->equals('process_number', NULL);
104 104
 
105 105
         if (count($constraints)) {
106 106
             $query->matching($query->logicalOr($constraints));
Please login to merge, or discard this patch.