We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56b57b0 commit ff374cbCopy full SHA for ff374cb
src/Images.php
@@ -39,7 +39,7 @@ public function imagesParse($column = null, $index = null, $array = false)
39
40
public function image($column = null, $index = 0)
41
{
42
- return trim($this->imagesParse($column, $index)[0]) ?: null;
+ return trim($this->imagesParse($column, $index)[0] ?? null) ?: null;
43
}
44
45
public function imageCaption($column = null, $index = 0)
0 commit comments