| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 32 | 
| Code Lines | 11 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 31 | 		private function getContents() { | 
            ||
| 32 | |||
| 33 | 			$contents = View::get('Blocks/Informer/Information'); | 
            ||
| 34 | |||
| 35 | # Set server entries  | 
            ||
| 36 | |||
| 37 | $contents->os_version = Informer::osVersion();  | 
            ||
| 38 | |||
| 39 | $contents->php_version = phpversion();  | 
            ||
| 40 | |||
| 41 | $contents->mysql_version = Informer::mysqlVersion();  | 
            ||
| 42 | |||
| 43 | # Set system entries  | 
            ||
| 44 | |||
| 45 | $contents->system_version = CADMIUM_VERSION;  | 
            ||
| 46 | |||
| 47 | # Set external entries  | 
            ||
| 48 | |||
| 49 | $contents->jquery_version = JQUERY_VERSION;  | 
            ||
| 50 | |||
| 51 | $contents->semantic_ui_version = SEMANTIC_UI_VERSION;  | 
            ||
| 52 | |||
| 53 | $contents->ckeditor_version = CKEDITOR_VERSION;  | 
            ||
| 54 | |||
| 55 | # Set debug mode  | 
            ||
| 56 | |||
| 57 | 			$this->processDebugMode($contents->getBlock('debug_mode')); | 
            ||
| 58 | |||
| 59 | # ------------------------  | 
            ||
| 60 | |||
| 61 | return $contents;  | 
            ||
| 62 | }  | 
            ||
| 63 | |||
| 72 | 
Since your code implements the magic setter
_set, this function will be called for any write access on an undefined variable. You can add the@propertyannotation to your class or interface to document the existence of this variable.Since the property has write access only, you can use the @property-write annotation instead.
Of course, you may also just have mistyped another name, in which case you should fix the error.
See also the PhpDoc documentation for @property.