stream_wrapper_register(..., Class::class)

This commit is contained in:
the-djmaze
2022-11-02 09:24:03 +01:00
parent f805ae53dc
commit b02274b35f
3 changed files with 3 additions and 3 deletions

View File

@@ -316,4 +316,4 @@ class Binary
}
}
\stream_wrapper_register(Binary::STREAM_NAME, '\\MailSo\\Base\\StreamWrappers\\Binary');
\stream_wrapper_register(Binary::STREAM_NAME, Binary::class);

View File

@@ -164,4 +164,4 @@ class Literal
}
}
\stream_wrapper_register(Literal::STREAM_NAME, '\\MailSo\\Base\\StreamWrappers\\Literal');
\stream_wrapper_register(Literal::STREAM_NAME, Literal::class);

View File

@@ -116,4 +116,4 @@ class TempFile
}
}
\stream_wrapper_register(TempFile::STREAM_NAME, '\\MailSo\\Base\\StreamWrappers\\TempFile');
\stream_wrapper_register(TempFile::STREAM_NAME, TempFile::class);