Completed
Pull Request — master (#11)
by Jeroen De
08:08 queued 06:08
created
src/ByHttpRequest/CannedResultArray.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,9 +40,8 @@
 block discarded – undo
40 40
 	/**
41 41
 	 * @since 0.1
42 42
 	 *
43
-	 * @param SMWDIWikiPage $resultPage
43
+	 * @param DIWikiPage $resultPage
44 44
 	 * @param PrintRequest $printRequest
45
-	 * @param JsonResponseParser $store
46 45
 	 */
47 46
 	public function __construct( DIWikiPage $resultPage, PrintRequest $printRequest, JsonResponseParser $jsonResponseParser ) {
48 47
 		$this->mResult = $resultPage;
Please login to merge, or discard this patch.
src/ByHttpRequest/QueryResult.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 	/**
45 45
 	 * @since 0.1
46 46
 	 *
47
-	 * @return array
47
+	 * @return string
48 48
 	 */
49 49
 	public function toArray() {
50 50
 		return $this->jsonResponseParser->getRawResponseResult();
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 	/**
76 76
 	 * @since 0.1
77 77
 	 *
78
-	 * @return SMWInfolink
78
+	 * @return Infolink
79 79
 	 */
80 80
 	public function getLink() {
81 81
 		$params = array( trim( $this->getQuery()->getQueryString() ) );
Please login to merge, or discard this patch.
src/DataValueDeserializer.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 	 * @param DIProperty $property
47 47
 	 * @param array|string $value
48 48
 	 *
49
-	 * @return DataValue
49
+	 * @return DIProperty
50 50
 	 */
51 51
 	public function newDataValueFrom( DIProperty $property, $value ) {
52 52
 
@@ -110,6 +110,9 @@  discard block
 block discarded – undo
110 110
 		return $dataItem;
111 111
 	}
112 112
 
113
+	/**
114
+	 * @param DIProperty $property
115
+	 */
113 116
 	private function newDataValueFromPropertyObject( $property, $value ) {
114 117
 
115 118
 		try{
@@ -121,6 +124,9 @@  discard block
 block discarded – undo
121 124
 		return $dv;		
122 125
 	}
123 126
 
127
+	/**
128
+	 * @param DIProperty $property
129
+	 */
124 130
 	private function newDataValueFromDataItem( $property, $dataItem ) {
125 131
 
126 132
 		try{
Please login to merge, or discard this patch.
src/HookRegistry.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -60,6 +60,9 @@
 block discarded – undo
60 60
 		return isset( $this->handlers[$name] ) ? $this->handlers[$name] : false;
61 61
 	}
62 62
 
63
+	/**
64
+	 * @param Store $store
65
+	 */
63 66
 	private function addCallbackHandlers( $store, $options ) {
64 67
 
65 68
 		$dynamicInterwikiPrefixLoader = new DynamicInterwikiPrefixLoader(
Please login to merge, or discard this patch.
tests/phpunit/Unit/HookRegistryTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -56,6 +56,9 @@
 block discarded – undo
56 56
 		$this->doTestRegisteredInterwikiLoadPrefixHandler( $instance );
57 57
 	}
58 58
 
59
+	/**
60
+	 * @param HookRegistry $instance
61
+	 */
59 62
 	public function doTestRegisteredInterwikiLoadPrefixHandler( $instance ) {
60 63
 
61 64
 		$handler = 'InterwikiLoadPrefix';
Please login to merge, or discard this patch.
src/ByHttpRequest/QueryResultFetcher.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 	 * 
46 46
 	 * @param HttpRequestFactory $httpRequestFactory
47 47
 	 * @param QueryResultFactory $queryResultFactory
48
-	 * @param HttpResponseParser $httpResponseParser
48
+	 * @param JsonResponseParser $httpResponseParser
49 49
 	 */
50 50
 	public function __construct( HttpRequestFactory $httpRequestFactory, QueryResultFactory $queryResultFactory, JsonResponseParser $httpResponseParser ) {
51 51
 		$this->httpRequestFactory = $httpRequestFactory;
@@ -120,6 +120,9 @@  discard block
 block discarded – undo
120 120
 		return $queryResult;
121 121
 	}
122 122
 
123
+	/**
124
+	 * @param Query $query
125
+	 */
123 126
 	private function doMakeHttpRequestFor( $query ) {
124 127
 
125 128
 		$httpRequest = $this->httpRequestFactory->newCurlRequest();
Please login to merge, or discard this patch.