Passed
Branch oai_solr_new_directory_structu... (24cd44)
by Erik
02:44
created
common/class.tx_dlf_solr.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -539,8 +539,7 @@
 block discarded – undo
539 539
      *
540 540
      * @return	array       The Apache Solr Documents that were fetched
541 541
      */
542
-    public function search_raw($query = '', $parameters = array())
543
-    {
542
+    public function search_raw($query = '', $parameters = array()) {
544 543
         $solr_response = $this->service->search((string)$query, 0, $this->limit, array_merge($this->params, $parameters));
545 544
 
546 545
         $searchresult = array();
Please login to merge, or discard this patch.
plugins/oai/class.tx_dlf_oai.php 1 patch
Braces   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -876,8 +876,7 @@  discard block
 block discarded – undo
876 876
 	 * @return array
877 877
 	 * @throws Exception
878 878
 	 */
879
-	private function fetchDocumentUIDs()
880
-	{
879
+	private function fetchDocumentUIDs() {
881 880
 		$solr_query = '';
882 881
 
883 882
 		if (!$this->conf['show_userdefined']) {
@@ -1090,8 +1089,7 @@  discard block
 block discarded – undo
1090 1089
 	 * @param tx_dlf_list $documentListSet
1091 1090
 	 * @return DOMElement
1092 1091
 	 */
1093
-	private function generateResumptionTokenForDocumentListSet($documentListSet)
1094
-	{
1092
+	private function generateResumptionTokenForDocumentListSet($documentListSet) {
1095 1093
 		$resumptionToken = $this->oai->createElementNS('http://www.openarchives.org/OAI/2.0/', 'resumptionToken');
1096 1094
 
1097 1095
 		if ($documentListSet->count() != 0) {
@@ -1130,7 +1128,7 @@  discard block
 block discarded – undo
1130 1128
 
1131 1129
 }
1132 1130
 
1133
-if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/dlf/plugins/oai/class.tx_dlf_oai.php'])	{
1131
+if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/dlf/plugins/oai/class.tx_dlf_oai.php']) {
1134 1132
 	include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/dlf/plugins/oai/class.tx_dlf_oai.php']);
1135 1133
 
1136 1134
 }
Please login to merge, or discard this patch.