bridges: Change ->name to ->author

This commit is contained in:
logmanoriginal 2016-08-09 14:54:44 +02:00
parent 4806092b9f
commit e329a4c1b6
22 changed files with 46 additions and 47 deletions

View file

@ -12,7 +12,7 @@ class StripeAPIChangeLogBridge extends BridgeAbstract{
$this->name = 'Stripe API Changelog';
$this->uri = '';
$this->description = 'Returns the changes made to the stripe.com API';
$this->update = '2016-06-20';
$this->update = '2016-08-09';
}
public function collectData(array $param){
@ -24,7 +24,7 @@ class StripeAPIChangeLogBridge extends BridgeAbstract{
$item=new \Item();
$item->title=trim($change->plaintext);
$item->uri='https://stripe.com/docs/upgrades#'.$item->title;
$item->name='stripe';
$item->author='stripe';
$item->content=$change->nextSibling()->outertext;
$item->timestamp=strtotime($item->title);
$this->items[]=$item;