src/DeepLinkResources/Resource.php
Resource
has 26 functions (exceeds 20 allowed). Consider refactoring. Wontfix
Wontfix
class Resource
{
use Arrayable;
private string $type = LtiConstants::DL_RESOURCE_LINK_TYPE;
private ?string $title = null;
Method getArray
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
public function getArray(): array
{
$resource = [
'type' => $this->type,
'title' => $this->title,