@@ -131,6 +131,7 @@ discard block |
||
| 131 | 131 | |
| 132 | 132 | /** |
| 133 | 133 | * @see StringValue::getLongWikiText |
| 134 | + * @param string $linked |
|
| 134 | 135 | */ |
| 135 | 136 | public function getLongWikiText( $linked = null ) { |
| 136 | 137 | return $this->getShortWikiText( $linked ); |
@@ -138,11 +139,15 @@ discard block |
||
| 138 | 139 | |
| 139 | 140 | /** |
| 140 | 141 | * @see StringValue::getLongHTMLText |
| 142 | + * @param string $linker |
|
| 141 | 143 | */ |
| 142 | 144 | public function getLongHTMLText( $linker = null ) { |
| 143 | 145 | return $this->getShortHTMLText( $linker ); |
| 144 | 146 | } |
| 145 | 147 | |
| 148 | + /** |
|
| 149 | + * @param string $value |
|
| 150 | + */ |
|
| 146 | 151 | private function isKnownNotificationsGroup( $value ) { |
| 147 | 152 | |
| 148 | 153 | $property = new DIProperty( |
@@ -25,7 +25,6 @@ |
||
| 25 | 25 | /** |
| 26 | 26 | * @since 1.0 |
| 27 | 27 | * |
| 28 | - * @param array $options |
|
| 29 | 28 | */ |
| 30 | 29 | public function __construct() { |
| 31 | 30 | $this->addCallbackHandlers(); |
@@ -41,6 +41,9 @@ |
||
| 41 | 41 | ); |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | + /** |
|
| 45 | + * @return \SMW\PropertyRegistry |
|
| 46 | + */ |
|
| 44 | 47 | private function newSmwPropertyRegistry() { |
| 45 | 48 | return $this->getMockBuilder( \SMW\PropertyRegistry::class ) |
| 46 | 49 | ->disableOriginalConstructor() |
@@ -91,7 +91,7 @@ |
||
| 91 | 91 | * |
| 92 | 92 | * @param array $subSemanticDataMatch |
| 93 | 93 | * |
| 94 | - * @return Closure |
|
| 94 | + * @return \Closure |
|
| 95 | 95 | */ |
| 96 | 96 | public function getNotificationsToGroupListByCallback( array $subSemanticDataMatch ) { |
| 97 | 97 | return function( $dataItem ) use( $subSemanticDataMatch ) { |
@@ -197,6 +197,9 @@ |
||
| 197 | 197 | $this->key++; |
| 198 | 198 | } |
| 199 | 199 | |
| 200 | + /** |
|
| 201 | + * @param DIWikiPage|null $subject |
|
| 202 | + */ |
|
| 200 | 203 | private function doFilterMembersByNotificationsToAssignment( $subject ) { |
| 201 | 204 | |
| 202 | 205 | $recipients = array(); |
@@ -169,10 +169,17 @@ |
||
| 169 | 169 | } |
| 170 | 170 | |
| 171 | 171 | // 2.4 compat |
| 172 | + |
|
| 173 | + /** |
|
| 174 | + * @param string $key |
|
| 175 | + */ |
|
| 172 | 176 | private function getFixedPropertyValueBy( $tableChangeOp, $key ) { |
| 173 | 177 | return method_exists( $tableChangeOp, 'getFixedPropertyValueFor' ) ? $tableChangeOp->getFixedPropertyValueFor( $key ) : $tableChangeOp->getFixedPropertyValueBy( $key ); |
| 174 | 178 | } |
| 175 | 179 | |
| 180 | + /** |
|
| 181 | + * @param DIProperty $property |
|
| 182 | + */ |
|
| 176 | 183 | private function doFilterOnFieldChangeOps( $property, $tableChangeOp, $fieldChangeOps ) { |
| 177 | 184 | |
| 178 | 185 | foreach ( $fieldChangeOps as $fieldChangeOp ) { |