File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,23 +53,4 @@ class Builder extends BaseBuilder
5353 */
5454 protected $ escapeChar = '` ' ;
5555
56- /**
57- * FROM tables
58- *
59- * Groups tables in FROM clauses if needed, so there is no confusion
60- * about operator precedence.
61- *
62- * Note: This is only used (and overridden) by MySQL.
63- *
64- * @return string
65- */
66- protected function _fromTables (): string
67- {
68- if ( ! empty ($ this ->QBJoin ) && count ($ this ->QBFrom ) > 1 )
69- {
70- return '( ' .implode (', ' , $ this ->QBFrom ).') ' ;
71- }
72-
73- return implode (', ' , $ this ->QBFrom );
74- }
7556}
Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ public function getIPAddress(): string
234234 */
235235 public function isValidIP (string $ ip = null , string $ which = null ): bool
236236 {
237- switch (strtolower ($ which ))
237+ switch (strtolower ( ( string ) $ which ))
238238 {
239239 case 'ipv4 ' :
240240 $ which = FILTER_FLAG_IPV4 ;
Original file line number Diff line number Diff line change @@ -714,7 +714,7 @@ public function sendHeaders()
714714 // http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html
715715 if (! isset ($ this ->headers ['Date ' ]))
716716 {
717- $ this ->setDate (\DateTime::createFromFormat ('U ' , time ()));
717+ $ this ->setDate (\DateTime::createFromFormat ('U ' , ( string ) time ()));
718718 }
719719
720720 // HTTP Status
You can’t perform that action at this time.
0 commit comments