@@ -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(); |
@@ -190,6 +190,9 @@ |
||
| 190 | 190 | $this->key++; |
| 191 | 191 | } |
| 192 | 192 | |
| 193 | + /** |
|
| 194 | + * @param DIWikiPage[] $members |
|
| 195 | + */ |
|
| 193 | 196 | private function doFilterGroupMembers( $members, $groupName, &$recipients ) { |
| 194 | 197 | |
| 195 | 198 | foreach ( $members as $member ) { |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | * |
| 124 | 124 | * @param CompositePropertyTableDiffIterator $compositePropertyTableDiffIterator |
| 125 | 125 | * |
| 126 | - * @return boolean|null |
|
| 126 | + * @return boolean |
|
| 127 | 127 | */ |
| 128 | 128 | public function hasChangeToNotifAbout( CompositePropertyTableDiffIterator $compositePropertyTableDiffIterator ) { |
| 129 | 129 | |
@@ -165,6 +165,9 @@ discard block |
||
| 165 | 165 | return $this->canNotify; |
| 166 | 166 | } |
| 167 | 167 | |
| 168 | + /** |
|
| 169 | + * @param DIProperty $property |
|
| 170 | + */ |
|
| 168 | 171 | private function doFilterOnFieldChangeOps( $property, $tableChangeOp, $fieldChangeOps ) { |
| 169 | 172 | |
| 170 | 173 | foreach ( $fieldChangeOps as $fieldChangeOp ) { |
@@ -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 ) { |
@@ -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() |