mirror of
				https://github.com/sitelease/sugar-cube-client.git
				synced 2025-10-31 12:02:30 +01:00 
			
		
		
		
	Fixed the TODOs
This commit is contained in:
		| @ -163,10 +163,10 @@ class PushEvent implements \JsonSerializable { | ||||
|       'before' => $this->getBefore(), | ||||
|       'compare_url' => ($url = $this->getCompareUrl()) ? (string) $url : null, | ||||
|       'commits' => array_map(function(PayloadCommit $commit) { return $commit->jsonSerialize(); }, $this->getCommits()->getArrayCopy()), | ||||
|       'pusher' => 'TODO', | ||||
|       'pusher' => ($user = $this->getPusher()) ? $user->jsonSerialize() : null, | ||||
|       'ref' => $this->getRef(), | ||||
|       'repository' => 'TODO', | ||||
|       'sender' => 'TODO' | ||||
|       'repository' => ($repository = $this->getRepository()) ? $repository->jsonSerialize() : null, | ||||
|       'sender' => ($user = $this->getSender()) ? $user->jsonSerialize() : null | ||||
|     ]; | ||||
|   } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user