[cmclasses] r1238 committed - Fix syntax error.

0 views
Skip to first unread message

cmcl...@googlecode.com

unread,
Jun 30, 2015, 2:40:21 PM6/30/15
to cmcl...@googlegroups.com
Revision: 1238
Author: christian.wuerker
Date: Tue Jun 30 18:40:06 2015 UTC
Log: Fix syntax error.

https://code.google.com/p/cmclasses/source/detail?r=1238

Modified:
/trunk/src/UI/HTML/Tag.php

=======================================
--- /trunk/src/UI/HTML/Tag.php Tue Jun 30 17:57:07 2015 UTC
+++ /trunk/src/UI/HTML/Tag.php Tue Jun 30 18:40:06 2015 UTC
@@ -129,7 +129,7 @@
$content = self::flattenArray( $content );
if( is_numeric( $content ) )
$content = (string) $content;
- if( is_object( $content ){
+ if( is_object( $content ) ){
if( !method_exists( $content, '__toString' ) ){ // content
is not a renderable object
$message = 'Object of class "'.get_class( $content ).'" cannot be
rendered'; // prepare message about not renderable object
throw new InvalidArgumentException( $message ); // break
with error message
Reply all
Reply to author
Forward
0 new messages