Skip to content

Commit c3ab346

Browse files
committed
Merge pull request #586 from wmde/throwReturn
No newline between @throws and @return
2 parents c40e003 + 8b4535f commit c3ab346

3 files changed

Lines changed: 1 addition & 5 deletions

File tree

src/ByPropertyIdArray.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ public function getByPropertyId( PropertyId $propertyId ) {
132132
* @since 0.5
133133
*
134134
* @param object $object
135-
* @return bool|int
136135
*
136+
* @return bool|int
137137
* @throws RuntimeException
138138
*/
139139
public function getFlatArrayIndexOfObject( $object ) {
@@ -154,7 +154,6 @@ public function getFlatArrayIndexOfObject( $object ) {
154154
* @since 0.5
155155
*
156156
* @return object[]
157-
*
158157
* @throws RuntimeException
159158
*/
160159
public function toFlatArray() {

src/Claim/Claims.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ public function getClaimWithGuid( $claimGuid ) {
138138
* @param string $guid
139139
*
140140
* @return bool
141-
*
142141
* @throws InvalidArgumentException
143142
*/
144143
public function offsetExists( $guid ) {
@@ -153,7 +152,6 @@ public function offsetExists( $guid ) {
153152
* @param string $guid
154153
*
155154
* @return Statement
156-
*
157155
* @throws InvalidArgumentException
158156
*/
159157
public function offsetGet( $guid ) {

src/Entity/EntityIdValue.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Wikibase\DataModel\Entity;
44

5-
use DataValues\DataValue;
65
use DataValues\DataValueObject;
76
use DataValues\IllegalValueException;
87
use InvalidArgumentException;

0 commit comments

Comments
 (0)