Code Duplication    Length = 6-7 lines in 2 locations

lib/Model/GlobalScale/GSEvent.php 1 location

@@ 123-129 (lines=7) @@
120
	 * @param bool $local
121
	 * @param bool $force
122
	 */
123
	function __construct(string $type = '', bool $local = false, bool $force = false) {
124
		$this->type = $type;
125
		$this->local = $local;
126
		$this->force = $force;
127
		$this->data = new SimpleDataStore();
128
		$this->result = new SimpleDataStore();
129
	}
130
131
132
	/**

lib/Model/Remote/RemoteEvent.php 1 location

@@ 98-103 (lines=6) @@
95
	 * @param string $class
96
	 * @param bool $local
97
	 */
98
	function __construct(string $class = '', bool $local = false) {
99
		$this->class = $class;
100
		$this->local = $local;
101
		$this->data = new SimpleDataStore();
102
		$this->result = new SimpleDataStore();
103
	}
104
105
106
	/**