Always prefer ::class notation

This commit is contained in:
Lucas Michot committed 2024-10-28 14:56:13 +01:00
1 parent 94e73c6d8b
commit c5403b0b3f
31 files changed
+99 -99

No files matched your search

+1 -1
View File
@@ -936,7 +936,7 @@ class Application extends BaseModel
$source_html_url_host = $url['host'];
$source_html_url_scheme = $url['scheme'];
if ($this->source->getMorphClass() == 'App\Models\GithubApp') {
if ($this->source->getMorphClass() == \App\Models\GithubApp::class) {
if ($this->source->is_public) {
$fullRepoUrl = "{$this->source->html_url}/{$customRepository}";
$git_clone_command = "{$git_clone_command} {$this->source->html_url}/{$customRepository} {$baseDir}";