eZ/Publish/Core/Repository/Helper/DomainMapper.php 1 location
|
@@ 664-666 (lines=3) @@
|
| 661 |
|
throw new InvalidArgumentValue('hidden', $locationCreateStruct->hidden, 'LocationCreateStruct'); |
| 662 |
|
} |
| 663 |
|
|
| 664 |
|
if ($locationCreateStruct->remoteId !== null && (!is_string($locationCreateStruct->remoteId) || empty($locationCreateStruct->remoteId))) { |
| 665 |
|
throw new InvalidArgumentValue('remoteId', $locationCreateStruct->remoteId, 'LocationCreateStruct'); |
| 666 |
|
} |
| 667 |
|
|
| 668 |
|
if ($locationCreateStruct->sortField !== null && !$this->isValidLocationSortField($locationCreateStruct->sortField)) { |
| 669 |
|
throw new InvalidArgumentValue('sortField', $locationCreateStruct->sortField, 'LocationCreateStruct'); |
eZ/Publish/Core/Repository/LocationService.php 1 location
|
@@ 519-521 (lines=3) @@
|
| 516 |
|
throw new InvalidArgumentValue('priority', $locationUpdateStruct->priority, 'LocationUpdateStruct'); |
| 517 |
|
} |
| 518 |
|
|
| 519 |
|
if ($locationUpdateStruct->remoteId !== null && (!is_string($locationUpdateStruct->remoteId) || empty($locationUpdateStruct->remoteId))) { |
| 520 |
|
throw new InvalidArgumentValue('remoteId', $locationUpdateStruct->remoteId, 'LocationUpdateStruct'); |
| 521 |
|
} |
| 522 |
|
|
| 523 |
|
if ($locationUpdateStruct->sortField !== null && !$this->domainMapper->isValidLocationSortField($locationUpdateStruct->sortField)) { |
| 524 |
|
throw new InvalidArgumentValue('sortField', $locationUpdateStruct->sortField, 'LocationUpdateStruct'); |
eZ/Publish/Core/Repository/UserService.php 1 location
|
@@ 894-896 (lines=3) @@
|
| 891 |
|
{ |
| 892 |
|
$loadedUser = $this->loadUser($user->id); |
| 893 |
|
|
| 894 |
|
if ($userTokenUpdateStruct->hashKey !== null && (!is_string($userTokenUpdateStruct->hashKey) || empty($userTokenUpdateStruct->hashKey))) { |
| 895 |
|
throw new InvalidArgumentValue('hashKey', $userTokenUpdateStruct->hashKey, 'UserTokenUpdateStruct'); |
| 896 |
|
} |
| 897 |
|
|
| 898 |
|
if ($userTokenUpdateStruct->time === null) { |
| 899 |
|
throw new InvalidArgumentValue('time', $userTokenUpdateStruct->time, 'UserTokenUpdateStruct'); |