Skip to content

Commit b87dc94

Browse files
committed
Fixed #30
1 parent cce3a88 commit b87dc94

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Embed/Adapters/Github.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,14 @@ protected function initProviders(Request $request)
3535
}
3636
}
3737

38+
/**
39+
* {@inheritDoc}
40+
*/
41+
public function getType()
42+
{
43+
return $this->getCode() ? 'rich' : 'link';
44+
}
45+
3846

3947
/**
4048
* {@inheritDoc}

0 commit comments

Comments
 (0)