packbackbooks/lti-1-3-php-library

View on GitHub
src/DeepLinkResources/Resource.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Resource has 26 functions (exceeds 20 allowed). Consider refactoring.
Wontfix

class Resource
{
    use Arrayable;
    private string $type = LtiConstants::DL_RESOURCE_LINK_TYPE;
    private ?string $title = null;
Severity: Minor
Found in src/DeepLinkResources/Resource.php - About 3 hrs to fix

    Method getArray has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Wontfix

        public function getArray(): array
        {
            $resource = [
                'type' => $this->type,
                'title' => $this->title,
    Severity: Minor
    Found in src/DeepLinkResources/Resource.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status