Skip to content

Commit

Permalink
changed namespace to cebe/gravatar
Browse files Browse the repository at this point in the history
fixes #1
  • Loading branch information
cebe committed Dec 10, 2013
1 parent 938358d commit c9c01bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Gravatar.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace cebe\widgets;
namespace cebe\gravatar;

use yii\base\InvalidConfigException;
use yii\base\Widget;
Expand All @@ -12,7 +12,7 @@
* To use this widget, you may insert the following code in a view:
*
* ```
* echo \cebe\widgets\Gravatar::widget([
* echo \cebe\gravatar\Gravatar::widget([
* 'email' => '[email protected]',
* 'size' => 128,
* 'defaultImage' => 'monsterid',
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Usage
-----

```php
<?php echo \cebe\widgets\Gravatar::widget([
<?php echo \cebe\gravatar\Gravatar::widget([
'email' => '[email protected]',
'options' => [
'alt' => 'Carsten Brandt'
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"yiisoft/yii2": "*"
},
"autoload": {
"psr-0": { "cebe\\widgets\\": "" }
"psr-0": { "cebe\\gravatar\\": "" }
},
"target-dir": "cebe/widgets"
"target-dir": "cebe/gravatar"
}

0 comments on commit c9c01bd

Please sign in to comment.