Skip to content

Commit 4429f30

Browse files
committed
Fix throws tags with multiple exceptions
1 parent 0435f7d commit 4429f30

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/ByPropertyIdArray.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,9 @@ function( $serializedPropertyId ) {
112112
*
113113
* @param PropertyId $propertyId
114114
*
115+
* @throws OutOfBoundsException
116+
* @throws RuntimeException
115117
* @return object[]
116-
* @throws RuntimeException|OutOfBoundsException
117118
*/
118119
public function getByPropertyId( PropertyId $propertyId ) {
119120
$this->assertIndexIsBuild();
@@ -365,7 +366,8 @@ private function getPropertyGroupIndex( PropertyId $propertyId ) {
365366
* @param object $object
366367
* @param int $toIndex Absolute index where to move the object to.
367368
*
368-
* @throws RuntimeException|OutOfBoundsException
369+
* @throws OutOfBoundsException
370+
* @throws RuntimeException
369371
*/
370372
public function moveObjectToIndex( $object, $toIndex ) {
371373
$this->assertIndexIsBuild();

0 commit comments

Comments
 (0)