src/CoreBundle/Entity/Course.php
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ApiFilter(filterClass: SearchFilter::class, properties: ['title' => 'partial', 'code' => 'partial'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Id]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\GeneratedValue(strategy: 'AUTO')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\EntityListeners([ResourceListener::class, CourseListener::class])]
- Exclude checks
You must use "/**" style comments for a class comment Open
Open
class Course extends AbstractResource implements ResourceInterface, ResourceWithAccessUrlInterface, ResourceIllustrationInterface, ExtraFieldItemInterface, Stringable
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ApiProperty(iris: ['http://schema.org/courseCode'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups([
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[UniqueEntity('visualCode')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'code', type: 'string', length: 40, unique: true, nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ApiResource(
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Entity(repositoryClass: CourseRepository::class)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotBlank]
- Exclude checks
Add a single space around assignment operators Open
Open
declare(strict_types=1);
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups([
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotBlank(message: 'A Course requires a title')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Table(name: 'course')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Gedmo\Slug(fields: ['title'], updatable: false, style: 'upper', unique: true, separator: '')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Index(columns: ['sticky'], name: 'idx_course_sticky')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ApiFilter(filterClass: OrderFilter::class, properties: ['id', 'title'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\Length(max: 40, maxMessage: 'Code cannot be longer than {{ limit }} characters')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'visual_code', type: 'string', length: 40, unique: false, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\Length(max: 40, maxMessage: 'Code cannot be longer than {{ limit }} characters')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['course:read', 'user:write', 'course_rel_user:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[UniqueEntity('code')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'id', type: 'integer')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'title', type: 'string', length: 250, unique: false, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'course', targetEntity: CourseRelUser::class, cascade: ['persist'], orphanRemoval: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups([
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'directory', type: 'string', length: 40, unique: false, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'description', type: 'text', unique: false, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['course:read', 'course_rel_user:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'tutor_name', type: 'string', length: 200, unique: false, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'department_name', type: 'string', length: 30, unique: false, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['course:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'activate_legal', type: 'integer', unique: false, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'course', targetEntity: Templates::class, cascade: ['persist', 'remove'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'course_language', type: 'string', length: 20, unique: false, nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\Url]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'disk_quota', type: 'integer', unique: false, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'course_type_id', type: 'integer', unique: false, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'course', targetEntity: SkillRelCourse::class, cascade: ['persist', 'remove'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'course', targetEntity: GradebookCategory::class, cascade: ['persist', 'remove'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'course', targetEntity: SearchEngineRef::class, cascade: ['persist', 'remove'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'visibility', type: 'integer', unique: false, nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'show_score', type: 'integer', unique: false, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'department_url', type: 'string', length: 180, unique: false, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'legal', type: 'text', unique: false, nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function __construct()
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['course:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'course', targetEntity: SkillRelUser::class, cascade: ['persist', 'remove'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'course_id', referencedColumnName: 'id')]
- Exclude checks
Missing function doc comment Open
Open
public static function getStatusList(): array
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'course', targetEntity: SessionRelCourse::class, cascade: ['persist', 'remove'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['course:read', 'course_rel_user:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToMany(targetEntity: CourseCategory::class, inversedBy: 'courses')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'last_edit', type: 'datetime', unique: false, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['course:read', 'course:write', 'course_rel_user:read', 'session:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\Url]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'add_teachers_to_sessions_courses', type: 'boolean', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotBlank]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinTable(name: 'course_rel_category')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['course:read', 'course:write'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'course', targetEntity: TrackEHotspot::class, cascade: ['persist', 'remove'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['course:read', 'course_rel_user:read', 'course:write'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'course', targetEntity: GradebookEvaluation::class, cascade: ['persist', 'remove'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['course:read', 'session:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['course:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'video_url', type: 'string', length: 255)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'last_visit', type: 'datetime', unique: false, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'expiration_date', type: 'datetime', unique: false, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'room_id', referencedColumnName: 'id')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'course', targetEntity: SessionRelCourseRelUser::class, cascade: [
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\InverseJoinColumn(name: 'course_category_id', referencedColumnName: 'id')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotNull]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'introduction', type: 'text', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotBlank]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['course:read', 'course:write'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'creation_date', type: 'datetime', unique: false, nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'unsubscribe', type: 'boolean', unique: false, nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'registration_code', type: 'string', length: 255, unique: false, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: Room::class)]
- Exclude checks
Missing function doc comment Open
Open
public function __toString(): string
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToOne(
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['course:read', 'course:write'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['course:read', 'course:write'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'sticky', type: 'boolean')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'course', targetEntity: GradebookLink::class, cascade: ['persist', 'remove'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'subscribe', type: 'boolean', unique: false, nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotNull]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(type: 'integer', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function removeSubscription(CourseRelUser $user): void
- Exclude checks
Missing function doc comment Open
Open
public function hasUserAsStudent(User $user): bool
- Exclude checks
Missing function doc comment Open
Open
public function hasUserAsTeacher(User $user): bool
- Exclude checks
Missing function doc comment Open
Open
public function setTitle(string $title): self
- Exclude checks
Missing function doc comment Open
Open
public function setTrackCourseRanking(?TrackCourseRanking $trackCourseRanking): self
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
fn (CourseRelUser $subscription) => $subscription->getUser()->getId() === $user->getId()
- Exclude checks
Missing function doc comment Open
Open
public function addSubscription(CourseRelUser $courseRelUser): self
- Exclude checks
Missing function doc comment Open
Open
public function hasUsers(CourseRelUser $subscription): bool
- Exclude checks
Missing function doc comment Open
Open
public function addSubscriptionForUser(User $user, int $relationType, ?string $role, int $status): self
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
fn (CourseRelUser $subscription) => $subscription->getUser()->getId() === $user->getId()
- Exclude checks
Missing function doc comment Open
Open
public function addTool(CTool $tool): self
- Exclude checks
Missing function doc comment Open
Open
public function getSubscriptionByUser(User $user): ?CourseRelUser
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function getTeachersSubscriptions(): Collection
- Exclude checks
Missing function doc comment Open
Open
public function setCode(string $code): self
- Exclude checks
Missing function doc comment Open
Open
public function getTutorName(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function getTitle(): string
- Exclude checks
Missing function doc comment Open
Open
public function addUserAsStudent(User $user): self
- Exclude checks
Missing function doc comment Open
Open
public function getDescription(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setVisibility(int $visibility): self
- Exclude checks
Missing function doc comment Open
Open
public function getTrackCourseRanking(): ?TrackCourseRanking
- Exclude checks
Missing function doc comment Open
Open
public function getStudentSubscriptions(): Collection
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[SerializedName('teachers')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['course:read'])]
- Exclude checks
Missing function doc comment Open
Open
public function setCategories(Collection $categories): self
- Exclude checks
Missing function doc comment Open
Open
public function setTutorName(?string $tutorName): self
- Exclude checks
Missing function doc comment Open
Open
public function setTools(array $tools): self
- Exclude checks
Missing function doc comment Open
Open
public function hasSubscriptionByUser(User $user): bool
- Exclude checks
Missing function doc comment Open
Open
public function setShowScore(int $showScore): self
- Exclude checks
Missing function doc comment Open
Open
public function setVisualCode(string $visualCode): self
- Exclude checks
Missing function doc comment Open
Open
public function setCourseLanguage(string $courseLanguage): self
- Exclude checks
Missing function doc comment Open
Open
public function addCategory(CourseCategory $category): self
- Exclude checks
Missing function doc comment Open
Open
public function getShowScore(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function setDepartmentName(string $departmentName): self
- Exclude checks
Missing function doc comment Open
Open
public function hasGroup(CGroup $group): void
- Exclude checks
Missing function doc comment Open
Open
public function getCourseLanguage(): string
- Exclude checks
Missing function doc comment Open
Open
public function getCode(): string
- Exclude checks
Missing function doc comment Open
Open
public function getTitleAndCode(): string
- Exclude checks
Missing function doc comment Open
Open
public function setDescription(string $description): self
- Exclude checks
Missing function doc comment Open
Open
public function getVisualCode(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setDepartmentUrl(string $departmentUrl): self
- Exclude checks
Missing function doc comment Open
Open
public function getVisibility(): int
- Exclude checks
Missing function doc comment Open
Open
public function addUserAsTeacher(User $user): self
- Exclude checks
Missing function doc comment Open
Open
public function getId(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function getExpirationDate(): ?DateTime
- Exclude checks
Missing function doc comment Open
Open
public function getSubscribe(): bool
- Exclude checks
Missing function doc comment Open
Open
public function getCreationDate(): DateTime
- Exclude checks
Missing function doc comment Open
Open
public function setCourseTypeId(int $courseTypeId): self
- Exclude checks
Missing function doc comment Open
Open
public function isAddTeachersToSessionsCourses(): ?bool
- Exclude checks
Missing function doc comment Open
Open
public function getCourseTypeId(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function getRegistrationCode(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function getLastEdit(): ?DateTime
- Exclude checks
Missing function doc comment Open
Open
public function setSubscribe(bool $subscribe): self
- Exclude checks
Missing function doc comment Open
Open
public function setDiskQuota(int $diskQuota): self
- Exclude checks
Missing function doc comment Open
Open
public function setLastEdit(DateTime $lastEdit): self
- Exclude checks
Missing function doc comment Open
Open
public function getUnsubscribe(): bool
- Exclude checks
Missing function doc comment Open
Open
public function setRegistrationCode(string $registrationCode): self
- Exclude checks
Missing function doc comment Open
Open
public function getRoom(): ?Room
- Exclude checks
Missing function doc comment Open
Open
public function isActive(): bool
- Exclude checks
Missing function doc comment Open
Open
public function removeCategory(CourseCategory $category): void
- Exclude checks
Missing function doc comment Open
Open
public function getDepartmentName(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function getDepartmentUrl(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function getActivateLegal(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function setLastVisit(DateTime $lastVisit): self
- Exclude checks
Missing function doc comment Open
Open
public function setLegal(string $legal): self
- Exclude checks
Missing function doc comment Open
Open
public function setRoom(Room $room): self
- Exclude checks
Missing function doc comment Open
Open
public function getDiskQuota(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function setAddTeachersToSessionsCourses(bool $addTeachersToSessionsCourses): self
- Exclude checks
Missing function doc comment Open
Open
public function getLastVisit(): ?DateTime
- Exclude checks
Missing function doc comment Open
Open
public function setCreationDate(DateTime $creationDate): self
- Exclude checks
Missing function doc comment Open
Open
public function getLegal(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setUnsubscribe(bool $unsubscribe): self
- Exclude checks
Missing function doc comment Open
Open
public function setExpirationDate(DateTime $expirationDate): self
- Exclude checks
Missing function doc comment Open
Open
public function setActivateLegal(int $activateLegal): self
- Exclude checks
Missing function doc comment Open
Open
public function setGradebookCategories(Collection $gradebookCategories): self
- Exclude checks
Missing function doc comment Open
Open
public function setSkills(Collection $skills): self
- Exclude checks
Missing function doc comment Open
Open
public function setGradebookLinks(Collection $gradebookLinks): self
- Exclude checks
Missing function doc comment Open
Open
public function setGradebookEvaluations(Collection $gradebookEvaluations): self
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function addUrls(AccessUrlRelCourse $urlRelCourse): static
- Exclude checks
Missing function doc comment Open
Open
public function setTrackEHotspots(Collection $trackEHotspots): self
- Exclude checks
Missing function doc comment Open
Open
public function getCurrentUrl(): AccessUrl
- Exclude checks
Missing function doc comment Open
Open
public function getUrls(): Collection
- Exclude checks
Missing function doc comment Open
Open
public function setSessionRelCourseRelUsers(Collection $sessionUserSubscriptions): self
- Exclude checks
Missing function doc comment Open
Open
public function setCurrentUrl(AccessUrl $url): self
- Exclude checks
Missing function doc comment Open
Open
public function addAccessUrl(?AccessUrl $url): self
- Exclude checks
Missing function doc comment Open
Open
public function setSearchEngineRefs(Collection $searchEngineRefs): self
- Exclude checks
Missing function doc comment Open
Open
public function addUrls(AccessUrlRelCourse $urlRelCourse): static
- Exclude checks
Missing function doc comment Open
Open
public function setIntroduction(?string $introduction): self
- Exclude checks
Missing function doc comment Open
Open
public function isHidden(): bool
- Exclude checks
Missing function doc comment Open
Open
public function setCurrentSession(Session $session): self
- Exclude checks
Missing function doc comment Open
Open
public function getIntroduction(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function getCurrentSession(): Session
- Exclude checks
Missing function doc comment Open
Open
public function getVideoUrl(): string
- Exclude checks
Missing function doc comment Open
Open
public function setSticky(bool $sticky): self
- Exclude checks
Missing function doc comment Open
Open
public function isSticky(): bool
- Exclude checks
Missing function doc comment Open
Open
public function getResourceIdentifier(): int
- Exclude checks
Missing function doc comment Open
Open
public function setVideoUrl(string $videoUrl): self
- Exclude checks
Missing function doc comment Open
Open
public function setTemplates(Collection $templates): self
- Exclude checks
Missing function doc comment Open
Open
public function setResourceName(string $name): self
- Exclude checks
Missing function doc comment Open
Open
public function getResourceName(): string
- Exclude checks
Missing function doc comment Open
Open
public function getDuration(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function setDuration(?int $duration): self
- Exclude checks
Missing function doc comment Open
Open
public function getDefaultIllustration(int $size): string
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public const OPEN_WORLD = 3;
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 0 Open
Open
class Course extends AbstractResource implements ResourceInterface, ResourceWithAccessUrlInterface, ResourceIllustrationInterface, ExtraFieldItemInterface, Stringable
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?string $title = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?string $visualCode = null;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
])]
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?int $id = null;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
])]
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected string $code;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
])]
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public const CLOSED = 0;
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 0 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public const REGISTERED = 1;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public const HIDDEN = 4;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $users;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public const OPEN_PLATFORM = 2;
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 0 Open
Open
)]
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $gradebookLinks;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?int $diskQuota = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected bool $subscribe;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->introduction = '';
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->tutorName = '';
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->urls = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->courseLanguage = 'en';
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
)]
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $skills;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?string $tutorName;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?DateTime $lastEdit;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->lastVisit = new DateTime();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->room = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $sessions;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?string $description;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?string $introduction;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $categories;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->skills = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->categories = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->courseTypeId = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected string $courseLanguage;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->templates = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Session $currentSession;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $trackEHotspots;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?DateTime $expirationDate = null;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->registrationCode = null;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->gradebookEvaluations = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->trackEHotspots = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
)]
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
)]
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $tools;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $gradebookCategories;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $gradebookEvaluations;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected int $visibility;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->creationDate = new DateTime();
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected bool $sticky;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected bool $unsubscribe;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->visibility = self::OPEN_PLATFORM;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->sessions = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->legal = '';
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?string $departmentName = null;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->lastEdit = new DateTime();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->unsubscribe = false;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?TrackCourseRanking $trackCourseRanking = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected AccessUrl $currentUrl;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?string $directory = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?string $registrationCode;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?int $courseTypeId;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->addTeachersToSessionsCourses = false;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function __toString(): string
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public static function getStatusList(): array
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $urls;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?string $departmentUrl = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?int $activateLegal;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->sticky = false;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected string $videoUrl;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?Room $room;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
private ?int $duration = null;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->users = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->gradebookCategories = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->searchEngineRefs = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->activateLegal = 0;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->tools = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->gradebookLinks = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->getTitle();
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $searchEngineRefs;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?DateTime $lastVisit;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->sessionRelCourseRelUsers = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->issuedSkills = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->description = '';
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->subscribe = true;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $sessionRelCourseRelUsers;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected DateTime $creationDate;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?string $legal;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?bool $addTeachersToSessionsCourses;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return [
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
])]
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $issuedSkills;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $templates;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?int $showScore = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function __construct()
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->videoUrl = '';
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
];
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->title = $title;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setTools(array $tools): self
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if (0 === $users->count()) {
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
if ($value->getId() === $user->getId()) {
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 16 Open
Open
)
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return false;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$criteria = Criteria::create()->where(Criteria::expr()->eq('user', $user));
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->addSubscriptionForUser($user, 0, '', CourseRelUser::STUDENT);
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getTools(): Collection
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if (!$this->hasUsers($courseRelUser)) {
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 16 Open
Open
)
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->title;
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$tool->setCourse($this);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return (bool) $this->getSubscriptionByUser($user);
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$courseRelUser = (new CourseRelUser())
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function hasUsers(CourseRelUser $subscription): bool
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 16 Open
Open
->andWhere(
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function addUserAsStudent(User $user): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
);
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
foreach ($tools as $tool) {
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getTrackCourseRanking(): ?TrackCourseRanking
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$matching = $users->filter(
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $matching->count() > 0 ? $matching->first() : null;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$courseRelUser->setCourse($this);
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if (0 !== $this->users->count()) {
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 16 Open
Open
->andWhere(
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 12 Open
Open
$relation = $this->users->matching($criteria);
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function hasUserAsStudent(User $user): bool
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getStudentSubscriptions(): Collection
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->users->matching($criteria);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function hasUserAsTeacher(User $user): bool
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$teacherSubscriptions = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function addSubscription(CourseRelUser $courseRelUser): self
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
foreach ($this->users as $key => $value) {
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$users = $this->getTeachersSubscriptions();
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$this->setCode($title);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->tools;
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
return null;
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 16 Open
Open
unset($this->users[$key]);
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 16 Open
Open
)
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 12 Open
Open
;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$criteria = Criteria::create();
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if (empty($this->code)) {
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$criteria->where(Criteria::expr()->eq('status', CourseRelUser::STUDENT));
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if (0 === $users->count()) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
fn (CourseRelUser $subscription) => $subscription->getUser()->getId() === $user->getId()
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
foreach ($this->users as $subscription) {
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
if (CourseRelUser::TEACHER === $subscription->getStatus()) {
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getUsers(): Collection
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->getTitle().' ('.$this->getCode().')';
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getVisibility(): int
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->visibility;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->visibility = $visibility;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function addTool(CTool $tool): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->trackCourseRanking;
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
fn (CourseRelUser $subscription) => $subscription->getUser()->getId() === $user->getId()
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
return false;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$matching = $users->filter(
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->directory;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setVisibility(int $visibility): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setTutorName(?string $tutorName): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setTitle(string $title): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function hasSubscriptionByUser(User $user): bool
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->code;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setCode(string $code): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setDescription(string $description): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->categories->removeElement($category);
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setVisualCode(string $visualCode): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setDepartmentUrl(string $departmentUrl): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->trackCourseRanking = $trackCourseRanking;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getSubscriptionByUser(User $user): ?CourseRelUser
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function addSubscriptionForUser(User $user, int $relationType, ?string $role, int $status): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $teacherSubscriptions;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->id;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->courseLanguage = $courseLanguage;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->departmentUrl = $departmentUrl;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setTrackCourseRanking(?TrackCourseRanking $trackCourseRanking): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
);
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$this->users->add($courseRelUser);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function removeSubscription(CourseRelUser $user): void
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->addSubscription($courseRelUser);
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->visualCode = $code;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->description = $description;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->showScore = $showScore;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->tutorName = $tutorName;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getTitle(): string
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$criteria = Criteria::create()
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 12 Open
Open
return $relation->count() > 0;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->getStudentSubscriptions()->matching($criteria)->count() > 0;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$this->addTool($tool);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->tools->add($tool);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$users = $this->getUsers();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->users;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $matching->count() > 0;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getTeachersSubscriptions(): Collection
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 16 Open
Open
$teacherSubscriptions->add($subscription);
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getTitleAndCode(): string
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getCategories(): Collection
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->categories;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setCategories(Collection $categories): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->visualCode;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->departmentName = $departmentName;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getDirectory(): ?string
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getCourseLanguage(): string
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->categories = $categories;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->categories[] = $category;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getVisualCode(): ?string
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setShowScore(int $showScore): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getDepartmentUrl(): ?string
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->departmentUrl;
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function hasGroup(CGroup $group): void
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getCode(): string
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->description;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->showScore;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->tutorName;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->departmentName;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getId(): ?int
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getShowScore(): ?int
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->addSubscriptionForUser($user, 0, 'Trainer', CourseRelUser::TEACHER);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->courseLanguage;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getDescription(): ?string
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setDepartmentName(string $departmentName): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->visualCode = $visualCode;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getDepartmentName(): ?string
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setLastEdit(DateTime $lastEdit): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setSubscribe(bool $subscribe): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function addUserAsTeacher(User $user): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->code = $code;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function addCategory(CourseCategory $category): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getTutorName(): ?string
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->subscribe;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->room = $room;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getDiskQuota(): ?int
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getLastEdit(): ?DateTime
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->activateLegal;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function isPublic(): bool
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->legal = $legal;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->room;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->lastEdit;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getCreationDate(): DateTime
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->creationDate = $creationDate;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->subscribe = $subscribe;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->addTeachersToSessionsCourses;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setRoom(Room $room): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->lastEdit = $lastEdit;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setExpirationDate(DateTime $expirationDate): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$activeVisibilityList = [self::REGISTERED, self::OPEN_PLATFORM, self::OPEN_WORLD];
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return \in_array($this->visibility, $activeVisibilityList, true);
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setDiskQuota(int $diskQuota): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->creationDate;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setLegal(string $legal): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->activateLegal = $activateLegal;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getCourseTypeId(): ?int
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->courseTypeId = $courseTypeId;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->lastVisit = $lastVisit;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getExpirationDate(): ?DateTime
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->expirationDate = $expirationDate;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getSubscribe(): bool
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setCourseTypeId(int $courseTypeId): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setCourseLanguage(string $courseLanguage): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function removeCategory(CourseCategory $category): void
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->legal;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setAddTeachersToSessionsCourses(bool $addTeachersToSessionsCourses): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function isActive(): bool
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->registrationCode;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->diskQuota = $diskQuota;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->registrationCode = $registrationCode;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->unsubscribe = $unsubscribe;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getRoom(): ?Room
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setLastVisit(DateTime $lastVisit): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->unsubscribe;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getRegistrationCode(): ?string
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getActivateLegal(): ?int
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function isAddTeachersToSessionsCourses(): ?bool
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->courseTypeId;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->diskQuota;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setCreationDate(DateTime $creationDate): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setUnsubscribe(bool $unsubscribe): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getUnsubscribe(): bool
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setRegistrationCode(string $registrationCode): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getLegal(): ?string
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setActivateLegal(int $activateLegal): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getSessions(): Collection
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->skills = $skills;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getGradebookCategories(): Collection
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setGradebookEvaluations(Collection $gradebookEvaluations): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setSearchEngineRefs(Collection $searchEngineRefs): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getLastVisit(): ?DateTime
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->lastVisit;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->expirationDate;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->addTeachersToSessionsCourses = $addTeachersToSessionsCourses;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->sessionRelCourseRelUsers = $sessionUserSubscriptions;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->skills;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setGradebookCategories(Collection $gradebookCategories): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 16 Open
Open
break;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getGradebookLinks(): Collection
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return self::HIDDEN === $this->visibility;
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setCurrentUrl(AccessUrl $url): self
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
foreach ($urlList as $item) {
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 16 Open
Open
$this->currentUrl = $url;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->issuedSkills;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getSessionRelCourseRelUsers(): Collection
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->sessions;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getSearchEngineRefs(): Collection
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$urlRelCourse->setCourse($this);
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function addAccessUrl(?AccessUrl $url): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getIssuedSkills(): Collection
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getSkills(): Collection
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function addUrls(AccessUrlRelCourse $urlRelCourse): static
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
if ($item->getSession()->getId() === $session->getId()) {
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->sessionRelCourseRelUsers;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getTrackEHotspots(): Collection
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setIntroduction(?string $introduction): self
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$this->urls->add($urlRelCourse);
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function isHidden(): bool
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getCurrentSession(): Session
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
foreach ($list as $item) {
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->urls;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->gradebookCategories;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->gradebookCategories = $gradebookCategories;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getGradebookEvaluations(): Collection
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setGradebookLinks(Collection $gradebookLinks): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setTrackEHotspots(Collection $trackEHotspots): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
if ($item->getUrl()->getId() === $url->getId()) {
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->trackEHotspots = $trackEHotspots;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return self::OPEN_WORLD === $this->visibility;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->currentSession;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$list = $this->getSessions();
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setSessionRelCourseRelUsers(Collection $sessionUserSubscriptions): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->searchEngineRefs;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 16 Open
Open
$this->currentSession = $session;
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 16 Open
Open
break;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->currentUrl;
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getUrls(): Collection
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->gradebookEvaluations;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getCurrentUrl(): AccessUrl
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$urlList = $this->getUrls();
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->addUrls($urlRelCourse);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->gradebookLinks = $gradebookLinks;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->trackEHotspots;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setCurrentSession(Session $session): self
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$urlRelCourse = (new AccessUrlRelCourse())->setUrl($url);
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->gradebookLinks;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->searchEngineRefs = $searchEngineRefs;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getIntroduction(): ?string
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if (!$this->urls->contains($urlRelCourse)) {
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setSkills(Collection $skills): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->gradebookEvaluations = $gradebookEvaluations;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->introduction;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->templates;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->videoUrl;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->getId();
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setTemplates(Collection $templates): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setDuration(?int $duration): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->setCode($name);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->templates = $templates;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->duration = $duration;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->videoUrl = $videoUrl;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getResourceName(): string
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setResourceName(string $name): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->duration;
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 0 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getTemplates(): Collection
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->sticky = $sticky;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getDefaultIllustration(int $size): string
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->sticky;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getDuration(): ?int
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->introduction = $introduction;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getVideoUrl(): string
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function isSticky(): bool
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return '/img/session_default.svg';
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setSticky(bool $sticky): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getResourceIdentifier(): int
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setVideoUrl(string $videoUrl): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->getCode();
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks