Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/ApiClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ protected function getSearchRequestUrl(string $rel, array $values): string
$response = $this->request(Request::METHOD_GET, $url);
$sxe = new \SimpleXMLElement($response->getContent());

// @mago-ignore analysis:mixed-array-access,non-documented-property
// @mago-ignore analysis:non-documented-property
$searchUrl = (string) $sxe->Url['template'];
if (!filter_var($searchUrl, FILTER_VALIDATE_URL)) {
$message = sprintf('Cannot get search template URL for %s', $url);
Expand Down Expand Up @@ -638,7 +638,7 @@ protected function createSearchResult(ResponseInterface $response): array
{
$items = [];
$sxe = new \SimpleXMLElement($response->getContent());
// @mago-ignore analysis:non-documented-property
// @mago-ignore analysis:non-documented-property,docblock-type-mismatch
/** @var \SimpleXMLElement[] $elements */
$elements = $sxe->entry;
foreach ($elements as $element) {
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Atom.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ final class Atom extends AbstractItem implements \Stringable
public \DateTimeImmutable $published;
public \DateTimeImmutable $updated;

// @mago-ignore analysis:non-documented-property,mixed-argument
// @mago-ignore analysis:non-documented-property
#[\Override]
public function setFromSimpleXMLElement(\SimpleXMLElement $sxe): static
{
Expand Down
2 changes: 1 addition & 1 deletion src/Model/CaseFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ final class CaseFile extends AbstractF2Item
public ?Party $modifiedBy = null;
public ?Party $responsible = null;

// @mago-ignore analysis:non-documented-property,mixed-argument
// @mago-ignore analysis:non-documented-property
#[\Override]
public function setFromSimpleXMLElement(\SimpleXMLElement $sxe): static
{
Expand Down
3 changes: 2 additions & 1 deletion src/Model/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ final class Collection extends AbstractItem
/** @var Item[] */
public array $items;

// @mago-ignore analysis:non-documented-property,mixed-property-access
// @mago-ignore analysis:non-documented-property
#[\Override]
public function setFromSimpleXMLElement(\SimpleXMLElement $sxe): static
{
$this->title = (string) $sxe->Title;
$this->items = [];
// @mago-ignore analysis:docblock-type-mismatch
/** @var \SimpleXMLElement[] $items */
$items = $sxe->Items->Item;
foreach ($items as $item) {
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ final class Document extends AbstractF2Item
public ?\DateTimeImmutable $createdDate = null;
public ?\DateTimeImmutable $modifiedDate = null;

// @mago-ignore analysis:non-documented-property,mixed-argument
// @mago-ignore analysis:non-documented-property
#[\Override]
public function setFromSimpleXMLElement(\SimpleXMLElement $sxe): static
{
Expand Down
1 change: 1 addition & 0 deletions src/Model/F2Item/Links.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public function __toString(): string
public static function fromSimpleXMLElement(\SimpleXMLElement $sxe): static
{
$links = [];
// @mago-ignore analysis:docblock-type-mismatch
/** @var \SimpleXMLElement[] $elements */
$elements = $sxe->Link;
foreach ($elements as $element) {
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Matter.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ final class Matter extends AbstractF2Item
public ?Party $modifiedBy = null;
public ?Party $responsible = null;

// @mago-ignore analysis:non-documented-property,mixed-argument
// @mago-ignore analysis:non-documented-property
#[\Override]
public function setFromSimpleXMLElement(\SimpleXMLElement $sxe): static
{
Expand Down
Loading