Skip to content

Commit

Permalink
fix psr
Browse files Browse the repository at this point in the history
  • Loading branch information
fuadarradhi committed Aug 9, 2020
1 parent e83c5e0 commit 22c1e99
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 19 deletions.
8 changes: 6 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@
"name": "fuadarradhi/ssoacehphp",
"description": "SSO Aceh client SDK for PHP language",
"type": "library",
"require": {
},
"require": {},
"license": "MIT",
"authors": [
{
"name": "Fuad Ar-Radhi",
"email": "fuad.arradhi@gmail.com"
}
],
"autoload": {
"psr-4": {
"SSOAceh\\PHPClient\\": "src/"
}
},
"minimum-stability": "stable"
}
17 changes: 0 additions & 17 deletions src/index.php → src/SSOClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,6 @@

namespace SSOAceh\PHPClient;

/**
* SSO Result
* return value untuk user setelah proses parsing,
*/
class SSOResult{
public $ID;
public $NIK;
public $NIP;
public $Nama;
public $HP;
public $Email;
public $TelegramID;
public $EmailAlternatif;
public $Avatar;
public $Datetime;
}

class SSOClient{

/**
Expand Down
28 changes: 28 additions & 0 deletions src/SSOResult.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

/**
* @author Fuad Ar-Radhi
* @email fuad.arradhi@gmail.com
*
* @since 0.1.0
* @description PHP Client SDK for SSO Pemerintah Aceh
*/

namespace SSOAceh\PHPClient;

/**
* SSO Result
* return value untuk user setelah proses parsing,
*/
class SSOResult{
public $ID;
public $NIK;
public $NIP;
public $Nama;
public $HP;
public $Email;
public $TelegramID;
public $EmailAlternatif;
public $Avatar;
public $Datetime;
}

0 comments on commit 22c1e99

Please sign in to comment.