for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Aweapi\Openapi\Objects\Properties;
trait OptionalServers
{
use Servers;
public function hasServers(): bool
return isset($this->servers);
}
private function getNormalizedServers(): ?array
return $this->hasServers() ? $this->getServers()->jsonSerialize() : null;