@@ -327,7 +327,7 @@ public static function getBucket($bucket, $prefix = null, $marker = null, $maxKe
327327			$ restsetParameter ('marker ' , $ nextMarker
328328			if  ($ delimiternull  && $ delimiter'' ) $ restsetParameter ('delimiter ' , $ delimiter
329329
330- 			if  (($ response$ restgetResponse (true )) == false  || $ responsecode  !== 200 ) break ;
330+ 			if  (($ response$ restgetResponse ()) == false  || $ responsecode  !== 200 ) break ;
331331
332332			if  (isset ($ responsebody , $ responsebody ->Contents ))
333333			foreach  ($ responsebody ->Contents  as  $ c
@@ -728,7 +728,7 @@ public static function setBucketLogging($bucket, $targetBucket, $targetPrefix =
728728			$ resterror  = array ('code '  => $ restcode , 'message '  => 'Unexpected HTTP status ' );
729729		if  ($ resterror  !== false )
730730		{
731- 			self ::__triggerError (sprintf ("S3::setBucketLogging( {$ bucket,  {$ uri ): [%s] %s " ,
731+ 			self ::__triggerError (sprintf ("S3::setBucketLogging( {$ bucket,  {$ targetBucket ): [%s] %s " ,
732732			$ resterror ['code ' ], $ resterror ['message ' ]), __FILE__ , __LINE__ );
733733			return  false ;
734734		}
@@ -1773,7 +1773,7 @@ public function getResponse()
17731773		{
17741774			curl_setopt ($ curlCURLOPT_PROXY , S3 ::$ proxy'host ' ]);
17751775			curl_setopt ($ curlCURLOPT_PROXYTYPE , S3 ::$ proxy'type ' ]);
1776- 			if  (isset (S3 ::$ proxy'user ' ], S3 ::$ proxy'pass ' ]) && $ proxy'user ' ] != null  && $ proxy'pass ' ] != null )
1776+ 			if  (isset (S3 ::$ proxy'user ' ], S3 ::$ proxy'pass ' ]) && S3 :: $ proxy'user ' ] != null  && S3 :: $ proxy'pass ' ] != null )
17771777				curl_setopt ($ curlCURLOPT_PROXYUSERPWD , sprintf ('%s:%s ' , S3 ::$ proxy'user ' ], S3 ::$ proxy'pass ' ]));
17781778		}
17791779
0 commit comments