Completed
Push — master ( d636ee...aee51e )
by Erik
23s
created
hooks/class.tx_dlf_hacks.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      *
32 32
      * @return	void
33 33
      */
34
-    public function construct_postProcessRecordId(SimpleXMLElement &$xml, &$record_id) {
34
+    public function construct_postProcessRecordId(SimpleXMLElement & $xml, &$record_id) {
35 35
 
36 36
         if (!$record_id) {
37 37
 
Please login to merge, or discard this patch.
hooks/class.tx_dlf_tcemain.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
                             } else {
338 338
 
339 339
                                 // Reindex document.
340
-                                $doc =& tx_dlf_document::getInstance($id);
340
+                                $doc = & tx_dlf_document::getInstance($id);
341 341
 
342 342
                                 if ($doc->ready) {
343 343
 
@@ -422,7 +422,7 @@  discard block
 block discarded – undo
422 422
                     case 'undelete':
423 423
 
424 424
                         // Reindex document.
425
-                        $doc =& tx_dlf_document::getInstance($id);
425
+                        $doc = & tx_dlf_document::getInstance($id);
426 426
 
427 427
                         if ($doc->ready) {
428 428
 
Please login to merge, or discard this patch.
hooks/class.tx_dlf_doctype.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
         if (!empty($this->piVars['id'])) {
162 162
 
163 163
             // Get instance of tx_dlf_document.
164
-            $this->doc =& tx_dlf_document::getInstance($this->piVars['id']);
164
+            $this->doc = & tx_dlf_document::getInstance($this->piVars['id']);
165 165
 
166 166
             if (!$this->doc->ready) {
167 167
 
Please login to merge, or discard this patch.
modules/indexing/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
         $this->list->save();
163 163
 
164 164
         // Save document to database and index.
165
-        $doc =& tx_dlf_document::getInstance($uid, 0, TRUE);
165
+        $doc = & tx_dlf_document::getInstance($uid, 0, TRUE);
166 166
 
167 167
         if ($doc->ready) {
168 168
 
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
                         && \TYPO3\CMS\Core\Utility\GeneralUtility::isValidUrl($this->data['id'])) {
220 220
 
221 221
                         // Save document to database and index.
222
-                        $doc =& tx_dlf_document::getInstance($this->data['id'], $this->id, TRUE);
222
+                        $doc = & tx_dlf_document::getInstance($this->data['id'], $this->id, TRUE);
223 223
 
224 224
                         if ($doc->ready) {
225 225
 
Please login to merge, or discard this patch.
common/class.tx_dlf_indexing.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      *
89 89
      * @return	integer		0 on success or 1 on failure
90 90
      */
91
-    public static function add(tx_dlf_document &$doc, $core = 0) {
91
+    public static function add(tx_dlf_document & $doc, $core = 0) {
92 92
 
93 93
         if (in_array($doc->uid, self::$processedDocs)) {
94 94
 
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
             // Handle multi-volume documents.
102 102
             if ($doc->parentId) {
103 103
 
104
-                $parent =& tx_dlf_document::getInstance($doc->parentId, 0, TRUE);
104
+                $parent = & tx_dlf_document::getInstance($doc->parentId, 0, TRUE);
105 105
 
106 106
                 if ($parent->ready) {
107 107
 
@@ -535,7 +535,7 @@  discard block
 block discarded – undo
535 535
      *
536 536
      * @return	integer		0 on success or 1 on failure
537 537
      */
538
-    protected static function processLogical(tx_dlf_document &$doc, array $logicalUnit) {
538
+    protected static function processLogical(tx_dlf_document & $doc, array $logicalUnit) {
539 539
 
540 540
         $errors = 0;
541 541
 
@@ -700,7 +700,7 @@  discard block
 block discarded – undo
700 700
      *
701 701
      * @return	integer		0 on success or 1 on failure
702 702
      */
703
-    protected static function processPhysical(tx_dlf_document &$doc, $page, array $physicalUnit) {
703
+    protected static function processPhysical(tx_dlf_document & $doc, $page, array $physicalUnit) {
704 704
 
705 705
         $errors = 0;
706 706
 
Please login to merge, or discard this patch.
cli/class.tx_dlf_cli.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
                 }
90 90
 
91 91
                 // Get the document...
92
-                $doc =& tx_dlf_document::getInstance($this->cli_args['-doc'][0], $this->cli_args['-pid'][0], TRUE);
92
+                $doc = & tx_dlf_document::getInstance($this->cli_args['-doc'][0], $this->cli_args['-pid'][0], TRUE);
93 93
 
94 94
                 if ($doc->ready) {
95 95
 
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
                 while ($resArray = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($result)) {
171 171
 
172 172
                     // Get the document...
173
-                    $doc =& tx_dlf_document::getInstance($resArray['uid'], $this->cli_args['-pid'][0], TRUE);
173
+                    $doc = & tx_dlf_document::getInstance($resArray['uid'], $this->cli_args['-pid'][0], TRUE);
174 174
 
175 175
                     if ($doc->ready) {
176 176
 
Please login to merge, or discard this patch.
common/class.tx_dlf_plugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
             $pid = (!empty($this->conf['excludeOther']) ? intval($this->conf['pages']) : 0);
133 133
 
134 134
             // Get instance of tx_dlf_document.
135
-            $this->doc =& tx_dlf_document::getInstance($this->piVars['id'], $pid);
135
+            $this->doc = & tx_dlf_document::getInstance($this->piVars['id'], $pid);
136 136
 
137 137
             if (!$this->doc->ready) {
138 138
 
Please login to merge, or discard this patch.
common/class.tx_dlf_document.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1526,7 +1526,7 @@
 block discarded – undo
1526 1526
 
1527 1527
             if ($parentLocation != $this->location) {
1528 1528
 
1529
-                $parentDoc =& tx_dlf_document::getInstance($parentLocation, $pid);
1529
+                $parentDoc = & tx_dlf_document::getInstance($parentLocation, $pid);
1530 1530
 
1531 1531
                 if ($parentDoc->ready) {
1532 1532
 
Please login to merge, or discard this patch.