private function getChanges($latest_release = false, $pulls)
	{
		$changes = array();

		foreach ($pulls as $pull)
		{
			if (!$latest_release || strtotime($pull->merged_at) > strtotime($latest_release->published_at))
			{
				if ($this->getJConfig()->github->changelog_source == "pr")
				{
					$changes[] = $pull->title;
				}

				$message   = explode(PHP_EOL, $pull->commit->message);
				$changes[] = $message[0];
			}
		}

		return $changes;
	}
private function getChanges($latest_release = false, $pulls)
	{
		$changes = array();

		foreach ($pulls as $pull)
		{
			if (!$latest_release || strtotime($pull->merged_at) > strtotime($latest_release->published_at))
			{
				if ($this->getJConfig()->github->changelog_source == "pr")
				{
					$changes[] = $pull->title;
				}

				$message   = explode(PHP_EOL, $pull->commit->message);
				$changes[] = $message[0];
			}
		}

		return $changes;
	}
private function getChanges ( $ latest_release = false , $ pulls ) { $ changes = array ( ) ; foreach ( $ pulls as $ pull ) { if ( ! $ latest_release || strtotime ( $ pull -> merged_at ) > strtotime ( $ latest_release -> published_at ) ) { if ( $ this -> getJConfig ( ) -> github -> changelog_source == "pr" ) { $ changes [ ] = $ pull -> title ; } $ message = explode ( PHP_EOL , $ pull -> commit -> message ) ; $ changes [ ] = $ message [ 0 ] ; } } return $ changes ; }
Get the Changes

@param   bool  $latest_release - Latest release
@param   array $pulls          - Pulls

@return  array

@since   1.0
Get the Changes