diff --git a/src/php/randomhost/Image/Text/Generic.php b/src/php/randomhost/Image/Text/Generic.php
index <HASH>..<HASH> 100644
--- a/src/php/randomhost/Image/Text/Generic.php
+++ b/src/php/randomhost/Image/Text/Generic.php
@@ -111,6 +111,8 @@ class Generic implements Text
     public function setTextColor(Image\Color $color)
     {
         $this->textColor = $color;
+
+        return $this;
     }
 
     /**
- fix missing return statement in randomhost\Image\Text\Generic::setTextColor()
(cherry picked from commit a<I>)