Created
January 26, 2022 15:11
-
-
Save nickygerritsen/c38c14fb0008715d86ba78b46cc9b887 to your computer and use it in GitHub Desktop.
codesleeve-stapler.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/src/Attachment.php 2022-01-26 16:09:33.000000000 +0100 | |
+++ b/src/Attachment.php 2022-01-26 16:10:05.000000000 +0100 | |
@@ -385,7 +385,7 @@ | |
*/ | |
public function getInstanceClass() | |
{ | |
- return get_class($this->instance); | |
+ return is_null($this->instance) ? null : get_class($this->instance); | |
} | |
/** |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment