diff options
Diffstat (limited to 'CommentStreams/.phan/stubs/DIProperty.php')
-rw-r--r-- | CommentStreams/.phan/stubs/DIProperty.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/CommentStreams/.phan/stubs/DIProperty.php b/CommentStreams/.phan/stubs/DIProperty.php new file mode 100644 index 00000000..102647c8 --- /dev/null +++ b/CommentStreams/.phan/stubs/DIProperty.php @@ -0,0 +1,24 @@ +<?php + +namespace SMW; + +use SMWDataItem; + +class DIProperty extends SMWDataItem { + /** + * @param string $key + * @param false $inverse + */ + public function __construct( string $key, $inverse = false ) { + } + + /** + * @param string $label + * @param bool $inverse + * @param false $languageCode + * @return DIProperty + */ + public static function newFromUserLabel( string $label, bool $inverse = false, $languageCode = false ) : self { + return new self( $label ); + } +} |