src/data/store.old.php 1 location
|
@@ 175-181 (lines=7) @@
|
172 |
|
* |
173 |
|
* @return void |
174 |
|
*/ |
175 |
|
protected function import_error() { |
176 |
|
error::trigger(error::INVALID_COLOR, sprintf( |
177 |
|
'The color supplied to %s\'s constructor was not valid', |
178 |
|
__CLASS__ |
179 |
|
)); |
180 |
|
$this->import_rgb([0, 0, 0]); |
181 |
|
} |
182 |
|
|
183 |
|
/** |
184 |
|
* Import the alpha channel from a color array, or create one if it doesn't exist |
src/data/store.php 1 location
|
@@ 214-220 (lines=7) @@
|
211 |
|
* |
212 |
|
* @return void |
213 |
|
*/ |
214 |
|
protected function import_error() { |
215 |
|
error::trigger(error::INVALID_COLOR, sprintf( |
216 |
|
'The color supplied to %s\'s constructor was not valid', |
217 |
|
__CLASS__ |
218 |
|
)); |
219 |
|
$this->import_rgb([0, 0, 0]); |
220 |
|
} |
221 |
|
|
222 |
|
/** |
223 |
|
* Import the alpha channel from a color array, or create one if it doesn't exist |